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: 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.

Re: How can i see the detailed log ?

2011-10-12 Thread freesky
maybe you can try to modify the related section of jmeter.properties which you think it may work. I haven't tried. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-can-i-see-the-detailed-log-tp4892987p4894840.html Sent from the JMeter - User mailing list archive at

Re: How can i see the detailed log ?

2011-10-11 Thread freesky
go to the JMeter directory - bin - jmeter.properties - change the 'log_level.jmeter=INFO' to 'log_level.jmeter=DEBUG' -- View this message in context: http://jmeter.512774.n5.nabble.com/How-can-i-see-the-detailed-log-tp4892987p4894029.html Sent from the JMeter - User mailing list archive at

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-10-07 Thread freesky
Thank you for telling me some knowledge of XML ! -- View this message in context: http://jmeter.512774.n5.nabble.com/XPath-Extractor-doesn-t-work-if-I-check-Use-Tidy-resolved-tp4848485p4881843.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: How can I assign multiple values to a variable

2011-10-07 Thread freesky
Thank you! I prefer use multiple variables to store multiple parameters instead of BeanShell, BeanShell is a bit more complicated. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-can-I-assign-multiple-values-to-a-variable-tp4852668p4881863.html Sent from the JMeter - User

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-29 Thread freesky
Thanks! That is even if the response is XML, but if we check ' Use Tidy ', then the JMeter will treat it as HTML and check the response it's a valid HTML or not before parsing the XPath, so if there is error during checking, then the XPath Extractor doesn't work, right? -- View this message in

How can I assign multiple values to a variable

2011-09-29 Thread freesky
The test plan is : Test Plan |_createA |_XPath Extractor |_createB |_XPath Extractor |_createA |_XPath Extractor The response of create is like next : requestcreate id=5 //request There is only one 'id' in each response and I use the 'XPath Extractor' to extract

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-29 Thread freesky
Thank you very much! -- View this message in context: http://jmeter.512774.n5.nabble.com/XPath-Extractor-doesn-t-work-if-I-check-Use-Tidy-tp4848485p489.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: How can I assign multiple values to a variable

2011-09-29 Thread freesky
I want to use 'a_1', 'a_2' etc to represent 'createA', I can't use 'a', 'b', 'c' to represent 'createA'. Do you mean I should write like next in the XPath Extractor : Reference name : ${_counter(,rd)} XPath : //create/@id I tried it, it doesn't work. -- View this message in context:

XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-28 Thread freesky
JMeter version is 2.4, the test plan is : Test Plan |_login(http) |_init(xml-rpc) |_read(xml-rpc) ||_XPath Extractor |_update(xml-rpc) In 'XPath Extractor', the 'Reference name' is 'a', in 'update' sampler, I used 'id=${a_1} '. But if I check the 'Use Tidy' in

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-28 Thread freesky
There are more than one return value, so I have to use ${a_1}, ${a_2}. The response data of 'read' sampler is like this : records _actions_=true record id=2/record /records The XPath Extractor is : Reference name : a XPath : //record/@id The sampler use the the 'Reference name' is like

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-28 Thread freesky
If I used ' objectId=${a} ' in the 'update' sampler, then in 'View Result Tree', I found the real request is ' objectId= '. It's a valid XML, I just wanted to try the 'Use Tidy'. I have no clue why this error will happen if I use 'Use Tidy'. -- View this message in context:

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-28 Thread freesky
Thanks, after I checked the 'Report errors' and 'Show warnings', the assertion of 'read' sampler is false, the Assertion failure message is ' //record/@id - tidy : 4 errors, 9 warnings. And Sorry, the real response data is like next, I didn't think there is errors, so I simplified the response

Re: change the variable's value without the counter

2011-09-22 Thread freesky
Sorry, I forgot the function. I tried the '_intSum', it works. Thanks! -- View this message in context: http://jmeter.512774.n5.nabble.com/change-the-variable-s-value-without-the-counter-tp4825954p4829190.html Sent from the JMeter - User mailing list archive at Nabble.com.

Can i use program to generate the jmeter script

2011-09-08 Thread freesky
Like Selenium, we can write the program to generate/run the Selenium script, so can we use program to generate the JMeter script? Thanks in advance! -- View this message in context: http://jmeter.512774.n5.nabble.com/Can-i-use-program-to-generate-the-jmeter-script-tp4781872p4781872.html Sent

Re: Can i use program to generate the jmeter script

2011-09-08 Thread freesky
Thank you for your replies. Actually, what I mean is, for example, there is a http request 'www.google.com', then can I use program to translate this request to jmeter script? Thanks! -- View this message in context: