Re: How to test webbased application based on jaxb

2011-10-31 Thread ZK
tp://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-test-webbased-application-based-on-jaxb-tp4952419p4952478.html Sent from the JMeter - User mailing list archive at Nabble.com. --

Re: BeanShell remove all chars -> '\' from json string

2011-10-27 Thread ZK
Hi, I forgot to escape a backslash! I tried this /(in a beanshell post processor) /and it works for me /(I got it down to 1 line):/ *vars.put("ItemData", vars.get("ItemData").replace("\\/", "/"));* ZK -- View this message in context: http://jmeter.5

Re: BeanShell remove all chars -> '\' from json string

2011-10-27 Thread ZK
Hi, if you have extracted the url into a variable /(i.e.: ${yourVar})/ *bshVar=vars.get("yourVar"); bshVar= bshVar.replace("\/", "/"); vars.put("yourVar", bshVar);* ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Bea

Re: Jmeter tests from Hudson

2011-10-19 Thread ZK
ow it goes with your Hudson setup ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Jmeter-tests-from-Hudson-tp4901509p4918338.html Sent from the JMeter - User mailing list archive at Nabble.com. ---

Re: Jmeter tests from Hudson

2011-10-19 Thread ZK
/qa/*regressionTestExample*/*regressionTestExample*.jmx This is the script that launches the job in Hudson: /jmeter -n -t %WORKSPACE%\*.jmx -l %WORKSPACE%\%JOB_NAME%.jtl/ *WORKSPACE *+ *JOB_NAME* are Hudson environment variables, so I only need 1 bat file to launch ANY my tests HTH ZK -- View this message

Re: beanshell get highest value of a regular expression

2011-10-19 Thread ZK
Array[0]); System.out.println("Maximum = " + myArray[myArray.length-1]); / ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/beanshell-get-highest-value-of-a-regular-expression-tp4913331p4916720.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: Consecutive Request in JMeter

2011-10-19 Thread ZK
Thread Group +HTTP Sampler1 +HTTP Sampler2 ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Consecutive-Request-in-JMeter-tp4916054p4916706.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: beanshell get highest value of a regular expression

2011-10-18 Thread ZK
Sebb I see what you are saying regarding a single match, however; would this work if the regEx extractor Match No was set to -1 ? ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/beanshell-get-highest-value-of-a-regular-expression-tp4913331p4914413.html Sent from the

Re: beanshell get highest value of a regular expression

2011-10-18 Thread ZK
} Arrays.sort(myArray); System.out.println("Minimum = " + myArray[0]); System.out.println("Maximum = " + myArray[myArray.length-1]); /(disclaimer I am a tester not a programmer)/ ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/beanshell-get-highest-value-of-a-reg

Re: Correlation of a drop down list

2011-10-17 Thread ZK
Hi, this would be one solution to randomise ${__V(dropdown_g${__Random(1,${dropdown_matchNr})})} The above statement won't go any higher than the number of regEx matches it finds HTH ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Correlation-of-a-drop-down

Re: Correlation of a drop down list

2011-10-14 Thread ZK
pdown_g4} =Confirmed ${dropdown_g5} =3 ${dropdown_g6} =Trainee ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Correlation-of-a-drop-down-list-tp4895265p4902345.html Sent from the JMeter - User mailing list a

Re: Correlation of a drop down list

2011-10-14 Thread ZK
/component_reference.html#Regular_Expression_Extractor ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Correlation-of-a-drop-down-list-tp4895265p4902235.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: parsing dynamic data to variables

2011-10-14 Thread ZK
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/parsing-dynamic-data-to-variables

Re: jmeter parameterization

2011-10-11 Thread ZK
I think maybe the issue is HOW you are posting the data Sorry I cannot be more help without actually 'seeing' the application! Did you try to POST using the SOAP/XML-RPC sampler? Does it work if you have the parameters 'hardcoded'? ZK -- View this message in context: htt

Re: jmeter parameterization

2011-10-11 Thread ZK
/jmeter/usermanual/component_reference.html#User_Parameters User Parameters 3. http://jakarta.apache.org/jmeter/usermanual/functions.html#__StringFromFile __StringFromFile Function ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/jmeter-parameterization-tp4887918p4891473

Re: jmeter parameterization

2011-10-11 Thread ZK
tp://jakarta.apache.org/jmeter/usermanual/regular_expressions.html Also I think maybe the SOAP/XML-RPC sampler maybe better for you here to send the 'Wrapper'? Hope this helps ZK -- View this message in context: http://jmeter.512774.n5.nabble.

Re: jmeter parameterization

2011-10-10 Thread ZK
Can you provide an example of the request that results in the error? ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/jmeter-parameterization-tp4887918p4889088.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: jmeter parameterization

2011-10-10 Thread ZK
so this isssue (http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-td4867973.html) is now resolved? ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/jmeter-parameterization-tp4887918p4888264.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: jmeter parameterization

2011-10-10 Thread ZK
this is simililar to this post: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-td4867973.html ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/jmeter-parameterization-tp4887918p4888010.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Executing Beanshell not on host but and remote host

2011-10-05 Thread ZK
Not sure, but maybe you could use the function *__machineName* as a way of only launching the batch file on a particular PC see: http://jakarta.apache.org/jmeter/usermanual/functions.html#__machineName ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Executing-Beanshell

Re: Regular expression extractor

2011-10-04 Thread ZK
You need to extract those values from the 'page response' you get BEFORE navigating to: /framework/wc_servlet.jsp? ie: page 1 (extract values with regEx) page 2: /framework/wc_servlet.jsp?(populated with previous extracted values) ZK -- View this message in context: http://jmeter

Re: Regular expression extractor

2011-10-04 Thread ZK
newaccountid=(\d*)&newpatientid=(\d*)&patientid=(\d*)&accountid=(\d*) ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-tp4867973p4868138.html Sent from the JMeter - User mailing list archive a

Re: Transaction Controller

2011-10-03 Thread ZK
overall timings for all calls grouped within the transaction controller ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Transaction-Controller-tp4867591p4867640.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: JDBC issue getting error message Ping of connection failed. java.sql.SQLException: ORA-00923: FROM keyword not found where expected

2011-09-28 Thread ZK
Are you sure your SQL statement is correct? ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/JDBC-issue-getting-error-message-Ping-of-connection-failed-java-sql-SQLException-ORA-00923-FROM-keywd-tp4849170p4850408.html Sent from the JMeter - User mailing list archive at

Re: Problem: Get data from response in jmeter

2011-09-27 Thread ZK
t yourself)/ regEx: /Variable name = *yourURL*/ regEx=*"clic":"http:\\/\\/new\.qcserver\.dirox\.net(.*?)"* Do you then need to navigate to the extracted Url? if so (and you already know the server address)... Path: *${__jexl(vars.get("*yourURL*").replace("\&q

Re: Bean Shell Preprocessor query

2011-09-23 Thread ZK
Yes you are correct! ;) However my mindset is to FORCE it to be string (even though it already is) belt and braces :) I'm an atheist ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Bean-Shell-Preprocessor-query-tp4831233p4832808.html Sent from the JMeter - User ma

Re: Bean Shell Preprocessor query

2011-09-23 Thread ZK
bshFoo = (vars.get("Foo")); bshFoo = "Four"; vars.put("Foo", ""+bshFoo); ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Bean-Shell-Preprocessor-query-tp4831233p4832617.html Sent from the JMeter -

Re: Store extracted data in a file

2011-09-21 Thread ZK
Couldn't you have 1 Thread Group? Like this: Thread group +Admin create +User +Admin delete Then you could change the 'Number of Threads' for that particular thread group ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Store-extracted-data-in-a-file-tp

Re: Get max or min Value of a Variable or Regular Expression

2011-09-20 Thread ZK
Value: NOT_FOUND The variable ${FirstID_matchNr} should tell you how many matches it has found, if this is OK I could assist you with some beanshell code to get the MAX ID value ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Get-max-or-min-Value-of-a-Variable-or-Regular

Re: Monitor result in jmeter

2011-09-19 Thread ZK
For monitoring servers you could use this: http://code.google.com/p/jmeter-plugins/wiki/PerfMon ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Monitor-result-in-jmeter-tp4818506p4818829.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-16 Thread ZK
* [\d]* [^>]* [^>]* [^>]* [^>]* [^>]* [^>]* [^>]* [^>]* [\d]* [\d]* [^>]* [^>]* [^>]* [\d]* </CompanyCode\.GetDetail\.Response> As I s

Re: Issue with Response assertion for HTTP Request Sampler

2011-09-16 Thread ZK
Hi, could you post a sample of the *full * xml assertion you use? Otherwise we all all shooting in the dark! ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Issue-with-Response-assertion-for-HTTP-Request-Sampler-tp4803205p4809760.html Sent from the JMeter - User mailing