Basic authorization in jmeter

2011-04-19 Thread testerinCO
Hello Currently I use the below listed python script to get the session id which is required for every request. How would I set up jmeter to get the session id? Thank you for your help url = 'http://denvercolorado/_rest/dev/' sessionurl = 'http://denvercolorado/_rest/v2/session.json' callurl =

Re: Basic authorization in jmeter

2011-04-20 Thread testerinCO
Thanks for the information. I've tried the beanshell pre processor, but don't seem to be able to get it recognized by the Authorization manager. Is it possible to call a python script from jmeter? I have the authorization working in a script, but have a hard time getting it to work in jmeter.

Can jmeter evaulate JQuery expressions?

2011-04-20 Thread testerinCO
After further investigation with firebug, I've noticed that the housemade sessionid is buried in DOM which calls a JQuery. I can see the expression (sessionid) with firebug, but not with jmeter. Is there a way to extract a JQuery expression? -- View this message in context:

Re: Basic authorization in jmeter

2011-04-20 Thread testerinCO
Oh yes, it works from the browser (I'm testing a session API with a get method) http://denver.colorado/_rest/dev/?e=5s=12345abcde --- when I execute the URL, it returns a session id which consists of current time and the hash of the secret code (listed in URL) and id (listed in URL). I can see

Re: Can jmeter evaulate JQuery expressions?

2011-04-20 Thread testerinCO
yes, it was calculated using jquery and I have no idea at this point how to replicate it in jmeter. -- View this message in context: http://jmeter.512774.n5.nabble.com/Can-jmeter-evaulate-JQuery-expressions-tp4328491p4328822.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: How to get substring function in jMeter

2011-05-31 Thread testerinCO
Hello I'm using the time function and get the following string returned: currentTime=1306894971042. I'm interested in only the first 10 digits. I tried the following: ${__jexl(Systemclass=log.class.forName(java.lang.System); Stringclass=log.class.forName(java.lang.String);

Re: How to get substring function in jMeter

2011-06-01 Thread testerinCO
Thank you so much. I worked on this for hours. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-get-substring-function-in-jMeter-tp526607p4446513.html Sent from the JMeter - User mailing list archive at Nabble.com.

hex_md5() function in jmeter

2011-06-01 Thread testerinCO
I have another question. I'm doing RESTful web services testing and have a home grown sessionID. Before I make the request, I have to create an MD5 hash of the current time and a secret word. Then I send an authorization header with the hashed string to get the real sessionID from the server.

Colon in string concatenation inserts a space

2011-06-05 Thread testerinCO
Here is the string I need to create: Authorization Basic 2:1307334312:9bf77a1d388d5b403d3383be4b11df00. Notice no space before or after the colons :. Here are the variables via debug sampler: newDate=1307334312 newDate2=1307334312 s=239erx487ysSkUA2dLkd7sySX

Re: Colon in string concatenation inserts a space

2011-06-06 Thread testerinCO
Yes, it gives a space after the first colon. I'm using the Jmeter Rest Sampler. Maybe there is a parse issue in the Header. -- View this message in context: http://jmeter.512774.n5.nabble.com/Colon-in-string-concatenation-inserts-a-space-tp4457644p4459014.html Sent from the JMeter - User

Re: Colon in string concatenation inserts a space

2011-06-06 Thread testerinCO
Thank you for your help. -- View this message in context: http://jmeter.512774.n5.nabble.com/Colon-in-string-concatenation-inserts-a-space-tp4457644p4460675.html Sent from the JMeter - User mailing list archive at Nabble.com.

How to use Multiple HTTP Header Managers

2011-06-11 Thread testerinCO
Hello I have a restful web service with retrieves a home-grown sessionID from the server. I used the HTTP Header Manager before I send the restful request. Once the sessionID is retrieved and captured in a variable, I need to use that sessionID in my next restful call, How do I specify another

Re: How to use Multiple HTTP Header Managers

2011-06-14 Thread testerinCO
thanks it worked. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-use-Multiple-HTTP-Header-Managers-tp4480485p4488992.html Sent from the JMeter - User mailing list archive at Nabble.com. - To

POST REST WebService in jmeter

2011-09-07 Thread testerinCO
I have to test some REST web services and I'm using the POSTER add on tool (Firefox). I'm successful running the services via the tool, but I'm not able to get a POST to work in jmeter using the HTTP Request sampler. Here are the parameters I input into the POSTER tool in the header: Name

Will jmeter-maven-plug work with jmeter 2.5

2011-09-16 Thread testerinCO
Hello I'm trying to get the jmeter-maven-plugin to work with jmeter 2.5. Does the following link https://github.com/Ronnie76er/jmeter-maven-plugin#readme support the latest release of jmeter 2.5? If not what would be a good source. I'm relatively new to maven and jenkins. Thank you. -- View

SSL Cert Error

2011-10-19 Thread testerinCO
Hello. I'm using jmeter 2.5 on Windows 7. Can somebody please tell me why I keep getting this error. Do I need to make changes to some of the properties files? Thanks. 2011/10/19 15:38:21 ERROR - jmeter.protocol.http.proxy.Proxy: java.net.SocketException: Connection closed by remote host^M

Re: SSL Cert Error

2011-10-19 Thread testerinCO
Thanks, but I already tried that. Is there something else I need to change? -- View this message in context: http://jmeter.512774.n5.nabble.com/SSL-Cert-Error-tp4919559p4920080.html Sent from the JMeter - User mailing list archive at Nabble.com.