Thank you, now it's working. Here is my updated code:
List params = null;
try {
params = URLEncodedUtils.parse(new URI(tripItURl), "UTF-8");
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
String oauth_token = ((NameValuePair) params.get(0)).getValue();
String oauth_callback = ((NameValuePair) params.get(1)).getValue();
Quick question thought, I had add a cast to params.get(0).getValue(), and my
code is working in Jmeter just fine. I thought it would choke because of
((NameValuePair), but it's not.
Thanks everyone, moving on in the test script!
--
View this message in context:
http://jmeter.512774.n5.nabble.com/Jmeter-and-Beanshell-tp5652979p5653014.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]