I also produces a "fix" for the Soap Sampler that is a subclass of HTTP Sampler and the other UI elements. I called it SimplePost[ ] since I couldn't have a Soap envelope around the XML I was posting to our Gateway.
Perhaps the attached code could be merged with what Jordi wrote. If it's useful/applicable ... Thanks for the great work JMeter team. It really helped on a project I just got finished with. Jonathan -----Original Message----- From: Jordi Salvat i Alabart [mailto:jsalvata@;atg.com] Sent: Wednesday, November 13, 2002 5:50 AM To: JMeter Developers List Subject: Patches 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.
SimplePostConfigGui.java
Description: SimplePostConfigGui.java
SimplePostSamplerGui.java
Description: SimplePostSamplerGui.java
SimplePostSampler.java
Description: SimplePostSampler.java
SimplePostWriter.java
Description: SimplePostWriter.java
-- To unsubscribe, e-mail: <mailto:jmeter-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:jmeter-dev-help@;jakarta.apache.org>
