[Tsung] tsung recorder and HTTPS

Isaac Uribe isaac.uribe at gmail.com
Sun Jan 6 19:07:13 CET 2008


Yes, it's possible to mix http with https, but with https, there is a
"feature" with recent browsers, they check the URL to be a valid
domain name, and the "{" prefix that tsung recorder uses makes the URL
invalid.

Nicolas already fixed that on subversion:
https://support.process-one.net/browse/TSUN-39?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel

That means, you have to either dowload the latest code or make the
following changes to your copy:

#In files:
./tsung-1.2.1/src/tsung/ts_utils.erl
./tsung-1.2.1/src/tsung_recorder/ts_proxy_http.erl

#Change:
"//{" with "//ssl-"
"%7B" -> "%073%073%033"

#vi search and replace on every file:
:%s/\/\/{/\/\/ssl-/g
:%s/%7B/%073%073%033/g

#./configure; make; make install

This way, tsung will use the prefix "ssl-" instead of "{", making it a
"valid" host name.

On 1/4/08, philippe vanderstraeten <phvander at gmail.com> wrote:
> Hello,
>
> I am trying to record a scenario with tsung recorder on a web site which
> mixed HTTP and HTTPS links. When I click on a HTTPS link, I got an error
> from my browser because it does not recognize the request prefix: HTTP://{
>
> My question is: is it possible to record a scénario mixing HTTP & HTTPS or
> do I need to record only in HTTP and then changing urls in my xml scenario?
>
> Thanks for your help.
> Best  regards.
>
> _______________________________________________
> Tsung-users mailing list
> Tsung-users at lists.process-one.net
> https://lists.process-one.net/mailman/listinfo/tsung-users
>
>


-- 
Isaac,

"Limit" is a state of mind....


More information about the Tsung-users mailing list