Summary: | Web Services proxy | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Benoit LAVENIER <benoit.lavenier> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | dparry, p.mouawad |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 2.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 52674 | ||
Bug Blocks: | |||
Attachments: |
JAR file (with sources) for enable web services proxy
ApacheJMeter_wsproxy_0.2.jar |
Description
Benoit LAVENIER
2006-09-06 11:39:50 UTC
Created attachment 18826 [details]
JAR file (with sources) for enable web services proxy
put the jar in your <JMETER_HOME>/lib/ext direcoty
Then add the following line in <JMETER_HOME>/bin/jmeter.properties file :
search_paths=../lib/ext/ApacheJMeter_wsproxy.jar
Thanks! BTW, there should be no need to update search_paths if the jar is in the lib/ext directory. *** Bug 31920 has been marked as a duplicate of this bug. *** Created attachment 18862 [details]
ApacheJMeter_wsproxy_0.2.jar
I posted a new version od the proxy : - Now the Proxy record not only WebServices (SOAP) request, but also HTTP request. - In addition, you could configure a redirection (host and port) of all requests What is the purpose of the HttpReplyHdr class? It seems to be the same as the existing one in http/proxy. Likewise, what is the purpose of the wsproxy/WebServiceSampler class? It redefines convertSoapHeaders and changes the key/value separator from "=" to ": " and adds some extra information to the sampleResult. The new class won't be used by existing test plans. If the changes are worthwhile, then they should be added to the existing class. What is the purpose of the host/port redirection? Hi Sebb ! - The HttpReplyHdr class has no changes. - i agree with you : the wsproxy/WebServiceSampler should not exists anymore. I didn't wanted to change existing classes at all, that's why i made a lot of code duplication. In addition, i had few time to develop the WSProxy, so you should examine in details all my code. - host/port redirection should help to redirect the SOAP request without setting up a proxy in the WebService client. My client soft (soft under test) don't support proxy redirection, that's why i add redirection capability. I have found two majors bugs in the WSProxy : - bad data encoding (i.e. specials caracters in ISO-8859-15 are converted into '?') - binaries datas are not supported very well (i.e. jpg). Thanks !(In reply to comment #6) > What is the purpose of the HttpReplyHdr class? > It seems to be the same as the existing one in http/proxy. > > Likewise, what is the purpose of the wsproxy/WebServiceSampler class? > It redefines convertSoapHeaders and changes the key/value separator from "=" > to ": " and adds some extra information to the sampleResult. The new class > won't be used by existing test plans. If the changes are worthwhile, then they > should be added to the existing class. > > What is the purpose of the host/port redirection? This feature CAN be implémented with less code after enhancement 52674, shall se do it ? Fixed as part of 53840 This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1784 |