how can i extract something from a variable

2011-10-13 Thread freesky
for example, there is a variable 'rep', and its value is 'record id=2 /', then can i extract the value of id from the variable 'rep' ? Thanks in advance! -- View this message in context: http://jmeter.512774.n5.nabble.com/how-can-i-extract-something-from-a-variable-tp4898134p4898134.html Sent

Re: Question about ThrouputController

2011-10-13 Thread Philippe Bossu
Thanks, I followed it and it worked for me. Regards On Wed, Oct 12, 2011 at 11:43 PM, Philippe Mouawad p.moua...@ubik-ingenierie.com wrote: Hello, We have a tutorial on this approach, you can find it here: - JMeter Switch Controller or How to Run a sampler with a certain Percentage

Re: How can i see the detailed log ?

2011-10-13 Thread Kendiol
Thanks for this great response shettyd, I'll follow your advice and i think that I'll be able to solve this problem. *To Oliver :* I'm using a SOAP/XML-RPC Request, the parameters are fine, I'll recheck the headers. I'm sure it's a small mistake but i haven't been able to solve it since 3 days

Re: how can i extract something from a variable

2011-10-13 Thread sebb
On 13 October 2011 07:17, freesky h...@windowslive.com wrote: for example, there is a variable 'rep', and its value is 'record id=2 /', then can i extract the value of id from the variable 'rep' ? Thanks in advance!

Java Request Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
http://jmeter.512774.n5.nabble.com/file/n4899140/JMeter-API-Results-Second-Iteration.jpg Whenever I run a test for Java Request sampler only for the first iteration the real response times are observed and from the second iteration onwards it is fast and the response time is almost 1/10th of

Re: Java Request Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 13:59, dineshkaarthick dineshkaarth...@gmail.com wrote: http://jmeter.512774.n5.nabble.com/file/n4899140/JMeter-API-Results-Second-Iteration.jpg Whenever I run a test for Java Request sampler only for the first iteration the real response times are observed and from the

Re: Java Request Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
sebb, can you please let me know why is the big difference in the response times for the first and further iterations ? -- View this message in context: http://jmeter.512774.n5.nabble.com/Java-Request-Sampler-Second-Iteration-Fast-tp4899140p4899168.html Sent from the JMeter - User mailing list

Re: Java Request Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 14:08, dineshkaarthick dineshkaarth...@gmail.com wrote: sebb, can you please let me know why is the big difference in the response times for the first and further iterations ? Not without knowing the sampler configuration. Also, you only show two iterations. Are all

Re: Java Request Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
sebb, yes all the further responses are similar to the second ones and not as accurate as the first request. As requested by you I have attached the sampler configuration. http://jmeter.512774.n5.nabble.com/file/n4899196/JMeter-API-Sampler-Config.jpg FYI, In the above sampler we are invoking

Re: How can i see the detailed log ?

2011-10-13 Thread Kendiol
I know that i shouldn't so this, that i should resolve the issue myself but i don't see any difference here. Here's what i get with TcpTrace. *This is the SOAP UI header :* POST / HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: Authorization: Basic

Re: Java Request Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 14:21, dineshkaarthick dineshkaarth...@gmail.com wrote: sebb, yes all the further responses are similar to the second ones and not as accurate as the first request. As requested by you I have attached the sampler configuration.

Re: How can i see the detailed log ?

2011-10-13 Thread Oliver Lloyd
Authorisation looks different. Is this basic auth? You could try a HTTP Authorisation Manager. Although, not sure why a lack of that would prompt a 500 response. - http://www.http503.com/ -- View this message in context:

Re: How can i see the detailed log ?

2011-10-13 Thread sebb
On 13 October 2011 15:01, Oliver Lloyd oliver_ll...@hotmail.com wrote: Authorisation looks different. Is this basic auth? You could try a HTTP Authorisation Manager. Although, not sure why a lack of that would prompt a 500 response. Yes, should be a 4xx response. The Content-Length is also

Re: How can i see the detailed log ?

2011-10-13 Thread Kendiol
But i can't control the content-length can i ? It just indicates the size of the request's body from what i understood. I did a HTTP Sampler Request and it worked perfectly. I've attached an XML file to it so i can't replace all my SOAP/XML-RPC Requests because i'm using BeanShell. I would have to

Re: How can i see the detailed log ?

2011-10-13 Thread sebb
On 13 October 2011 16:35, Kendiol meh.bela...@gmail.com wrote: But i can't control the content-length can i ? It just indicates the size of the request's body from what i understood. Yes, and so you need to ensure that the content bodies agree. The length mismatch is just a symptom of different

Re: How can i see the detailed log ?

2011-10-13 Thread Kendiol
I didn't see this option, i checked it and it's finally working. Thank you all for your help, i was desperate. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-can-i-see-the-detailed-log-tp4892987p4899823.html Sent from the JMeter - User mailing list archive at

Re: How can i see the detailed log ?

2011-10-13 Thread sebb
On 13 October 2011 17:34, Kendiol meh.bela...@gmail.com wrote: I didn't see this option, i checked it and it's finally working. Thanks for letting us know the issue is fixed. However, it seems odd that connection: close was causing a 500 error. Thank you all for your help, i was desperate.

Re: How can i see the detailed log ?

2011-10-13 Thread Deepak Shetty
I cant quite figure out how this could have solved your problem (but I cant argue with the facts :) ) Out of curiosity does your content length now match SOAP-UI ? Do you have non ascii characters in your SOAP request?And do you have an XML prolog? in which case does it have an encoding and what

Re: how can i extract something from a variable

2011-10-13 Thread freesky
Thank you very much! It's very kind of you! -- View this message in context: http://jmeter.512774.n5.nabble.com/how-can-i-extract-something-from-a-variable-tp4898134p4901281.html Sent from the JMeter - User mailing list archive at Nabble.com.