No idea on this one - can you create a Bugzilla issue, and add a simple test case and the corresponding jmeter.log (obfuscate private info if necessary)
S. On 21/03/06, Ivan Rancati <[EMAIL PROTECTED]> wrote: > I found this odd problem with the HTTP Sampler, where a variable that > contains the URL is processed correctly in one sampler and wrongly in > the following one > > The simplified version of the test plan is this > > Thread group > Web service sampler #1 > Regex extractor #1 > HTTP Sampler #1 > Web service sampler #2 > Regex extractor #2 > HTTP Sampler #2 > > Both web services calls return an object which contains, among other > info, an https URL for an electronic payment service. > > The SOAP response is similar, and I verified by setting the Jmeter log > to DEBUG level that the Regex extractors find the correct matches > Here is what I found out from the logs: both URL are extracted > correctly, but for some odd reason the 2nd URL is included in square > brackets before it's passed to the HTTP sampler. > The two samplers are exactly the same, except for the name of the > variable in "Server Name or IP", which matches the variable from the > regex extractor. > > url #1 > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor processing result > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: Regex = > (https://)(.*)(</paymentUrl>) > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Match found! > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Template piece #0 = 2 > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Template piece #1 = > 2006/03/21 15:47:49 DEBUG - jmeter.extractor.RegexExtractor: Regex > Extractor result = > select.worldpay.com/wcc/purchase?name=firstName66727+lastName66727& > ;fax=%2B4906966727&country=DE&purchase=c2lnbj1tZXJjMTMwMTgyLTEmZW5jPXdjYy0xJmRhdGE9RkhYc0dJQllwMGVmJTJCVXJFZUU4UkNEaXhBUEhucE51SGtRZU9aeWFVc1diN1VXa > DMxT1NJWDVSMXFHNCUyRllma0NSMXM1dU5HMXRpJTJGaWN5JTJGTmFHdUUzNWptVXVpdmN5Mmk4TTdlR1RSOWlRUVRwYThCdUJWcVdVNFVrbnlpOFNiMERycVR1MmpUZThKdCUyRjdod21KVTk5Mm9DdTZsa > FdBU0o4cVdkNmk3M0toMEV4bjBDRkp2QXBXdkYxbzI2VG1kZHFUbDk0eVRianFLbUxvcFRES3dFeDJRJTJGcDQxNFIlMkJ1RFVISjNDWjczM1RTJTJCd3lqWnd4TDhFUFd1TkdrVnRTJTJCQUNIclVpQjB1e > WVtZHdLWktpaFBlWlEySDZJRXozUWQ5cXZYaFhKZ3ZieTFqQzBhQVpzQXNpMm9YVVg1ajFnaWJ4bmpiWGx3ZmY2Zm5jbXBzZGJPVU5nJTNEJTNE&tel=%2B4917166727&postcode=60599& > ;MC_callback=83.236.237.203%2Fpsp%2Fworldpay&desc=description66727&email=66727%40sharpmind.de&address=Dreieichstr.%2B20 > > > 2006/03/21 15:47:49 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: > Start : > samplehttps://select.worldpay.com/wcc/purchase?name=firstName66727+lastName66727&fax=%2B4906966727&country=DE&purchase=c2lnbj1tZXJjMTMwMTgyLTEmZW5jPXdjYy0xJmRhdGE9RkhYc0dJQllwMGVmJTJCVXJFZUU4UkNEaXhBUEhucE51SGtRZU9aeWFVc1diN1VXaDMxT1NJWDVSMXFHNCUyRllma0NSMXM1dU5HMXRpJTJGaWN5JTJGTmFHdUUzNWptVXVpdmN5Mmk4TTdlR1RSOWlRUVRwYThCdUJWcVdVNFVrbnlpOFNiMERycVR1MmpUZThKdCUyRjdod21KVTk5Mm9DdTZsaFdBU0o4cVdkNmk3M0toMEV4bjBDRkp2QXBXdkYxbzI2VG1kZHFUbDk0eVRianFLbUxvcFRES3dFeDJRJTJGcDQxNFIlMkJ1RFVISjNDWjczM1RTJTJCd3lqWnd4TDhFUFd1TkdrVnRTJTJCQUNIclVpQjB1eWVtZHdLWktpaFBlWlEySDZJRXozUWQ5cXZYaFhKZ3ZieTFqQzBhQVpzQXNpMm9YVVg1ajFnaWJ4bmpiWGx3ZmY2Zm5jbXBzZGJPVU5nJTNEJTNE&tel=%2B4917166727&postcode=60599&MC_callback=83.236.237.203%2Fpsp%2Fworldpay&desc=description66727&email=66727%40sharpmind.de&address=Dreieichstr.%2B20:443/ > 2006/03/21 15:47:49 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: > methodGET > 2006/03/21 15:47:51 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: > End : sample > 2006/03/21 15:47:51 DEBUG - > jmeter.testelement.property.AbstractProperty: Running version, executing > function > 2006/03/21 15:47:51 DEBUG - > jmeter.testelement.property.AbstractProperty: Running version, executing > function > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: Start : updateGui1 > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result > - goto worldpayurl > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 > > the 2nd HTTP sampler then fails. > In View results tree, request is "null" and result is this > > > org.apache.commons.httpclient.URIException: IPv6reference > at org.apache.commons.httpclient.URI.parseAuthority(URI.java:2175) > at org.apache.commons.httpclient.URI.parseUriReference(URI.java:1961) > at org.apache.commons.httpclient.URI.<init>(URI.java:221) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection(HTTPSampler2.java:181) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:430) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) > at java.lang.Thread.run(Thread.java:595) > > url #2 > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor processing result > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: Regex = > (https://)(.*)(</paymentUrl>) > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Match found! > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Template piece #0 = 2 > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: > RegexExtractor: Template piece #1 = > 2006/03/21 15:47:51 DEBUG - jmeter.extractor.RegexExtractor: Regex > Extractor result = > www.sicherbezahlen.t-pay.de/wallet/de/Wallet.jsp?sessionID=3fab17ad58dede36733999cceb6b6c58&clientID=T-Com&merchantID=1&shopID=7&action=0&amount=10.0&currency=EUR&subject1=description66727&[EMAIL > > PROTECTED]&subject3=3766727&paymentIdentifier=8210&returnURL=http://tc-pp:8080/server/psp/tpay&timestamp=2006-03-21T15:45:31,000&affiliateID=7&hash=7E50958F9406E6A44FCF7CB2719114CF7C40F825 > > > > 2006/03/21 15:47:51 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: > Start : > samplehttps://[www.sicherbezahlen.t-pay.de/wallet/de/Wallet.jsp?sessionID=3fab17ad58dede36733999cceb6b6c58&clientID=T-Com&merchantID=1&shopID=7&action=0&amount=10.0&currency=EUR&subject1=description66727&[EMAIL > > PROTECTED]&subject3=3766727&paymentIdentifier=8210&returnURL=http://tc-pp:8080/server/psp/tpay&timestamp=2006-03-21T15:45:31,000&affiliateID=7&hash=7E50958F9406E6A44FCF7CB2719114CF7C40F825]:443/ > 2006/03/21 15:47:51 DEBUG - jmeter.protocol.http.sampler.HTTPSampler2: > methodGET > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: Start : updateGui1 > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result > - goto tpayurl > 2006/03/21 15:47:51 DEBUG - > jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 > > > any suggestions? > > -- > Ivan Rancati > SharpMind QA > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

