Sorry for replying to myself. At the time of the writing I didn't have web access, so I've just checked the bug database.

The code I attached (sorry I couldn't build a diff) actually corrects bugs#12633 and #14145.

I've logged the bug I mentioned still remains -- it received number 14533.

Salut,

Jordi.

Jordi Salvat i Alabart wrote:
I'm attaching modified versions of the HttpSampler.java and SoapSampler.java currently in CVS which fix a couple of bugs:

- HttpSampler is now capable of following several redirects in a row, while still ensuring we won't enter into an infinite loop ( by limiting the maximum number of redirects followed to 10).

- HttpSampler can now follow redirects which switch protocols (http to https or the reverse), change ports, or include parameters in the query string.

- SoapSampler now works.

Also removed a couple of comments (from myself) which no longer make sense.

I'd like one of the developers to consider this for inclusion into the product. Feel free to write back if you have questions / concerns.

There's one important related bug remaining: int Soap Sampler you can't enter a URL containing ${variables}. The solution is long -- requires splitting the URL field into its component fields (protocol, domain, port and path), just as done for the HTTP Sampler -- and unfortunately I don't have that much time now. Sorry.

Salut,

Jordi

--
To unsubscribe, e-mail:   <mailto:jmeter-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-dev-help@;jakarta.apache.org>

  • Patches Jordi Salvat i Alabart
    • Jordi Salvat i Alabart

Reply via email to