IllegalUserActionException

2007-01-11 Thread Gupta, Sachin
Hello, I am newbie to JMeter and trying to create my very first test plan with the help of user manual. Trying to save test plan give me following exception. jmeter.exceptions.IllegalUserActionException:Couldn't save test plan to file:C:\jakarta-jemter-2.2\jakarta-jemter-2.2\bin\Test Plan.j

Re: Variable Substitution for cookies

2007-01-11 Thread sebb
On 11/01/07, sebb <[EMAIL PROTECTED]> wrote: On 11/01/07, Kyle Schmitt <[EMAIL PROTECTED]> wrote: > I know that if I have a variable, say password=ncc1701, and I record a > test, all instances of ncc1701 will be replaced with ${password}. > > Now I'm using a regular expression to pull out certain

Re: Read random lines from CVS file

2007-01-11 Thread sebb
On 11/01/07, Jake Jacobson <[EMAIL PROTECTED]> wrote: Is there a way to read a random line from a CVS file with JMeter? I No. have a file with about 10,000 query terms and I want to select 50 of them from the list in a random order. One possible solution would be to make a Perl script that

POSTing serialized Java objects

2007-01-11 Thread Andrew de Torres
Hi. I am trying to set up JMeter to load test a server that uses Java servlets with serialized Java objects for parameters. Here is how the Java applet client calls it: URL url = new URL (applet.getCodeBase (), spec); HttpMessage msg = new HttpMessage (url); InputStream in = msg.sendPostMessage

Re: Newbie question about JMeter

2007-01-11 Thread Jake Jacobson
Thanks for your help. I was able to get these problems resolved and everything seems to be working as expected now with my while loop. Jake On 1/11/07, sebb <[EMAIL PROTECTED]> wrote: On 11/01/07, Jake Jacobson <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to build a test plan to load test

Read random lines from CVS file

2007-01-11 Thread Jake Jacobson
Is there a way to read a random line from a CVS file with JMeter? I have a file with about 10,000 query terms and I want to select 50 of them from the list in a random order. One possible solution would be to make a Perl script that would generate the list I need and then run JMeter using this g

Re: Variable Substitution for cookies

2007-01-11 Thread sebb
On 11/01/07, Kyle Schmitt <[EMAIL PROTECTED]> wrote: I know that if I have a variable, say password=ncc1701, and I record a test, all instances of ncc1701 will be replaced with ${password}. Now I'm using a regular expression to pull out certain variables (like viewstate) from each page in my tes

Re: Newbie question about JMeter

2007-01-11 Thread sebb
On 11/01/07, Jake Jacobson <[EMAIL PROTECTED]> wrote: Hi, I am trying to build a test plan to load test our search appliance. I have a file with search terms, 1 per line that I want to submit against the application. I want to go through the list once and when I reach the end of file, the test

Variable Substitution for cookies

2007-01-11 Thread Kyle Schmitt
I know that if I have a variable, say password=ncc1701, and I record a test, all instances of ncc1701 will be replaced with ${password}. Now I'm using a regular expression to pull out certain variables (like viewstate) from each page in my test, and passing it back on almost every page. The prob

Newbie question about JMeter

2007-01-11 Thread Jake Jacobson
Hi, I am trying to build a test plan to load test our search appliance. I have a file with search terms, 1 per line that I want to submit against the application. I want to go through the list once and when I reach the end of file, the test would end. I am having 2 issues that I need help with

Re: Matching one of several strings in Response Assertion

2007-01-11 Thread sebb
Works fine for me using ${A}|${B}|c where A=a and b=b with input of either a (succeeds) or d (fails) Are you sure the output contains the correct data? On 11/01/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: An API I am testing can return one of several strings, that look like this 61A6C22QXP

Matching one of several strings in Response Assertion

2007-01-11 Thread Ivan Rancati
An API I am testing can return one of several strings, that look like this 61A6C22QXPUZA6G2XD FJKTCS7597QWBZ29Y9 8PGUE8J7NM72AWMA8H DQS23CB9J4MXJ4NWGW CBMX24WPUKJHW32FFS AQ4PA3VGAGJRB2A191 8BF98WM3RFYT4J6ZJ9 I have a variable for each of these possible matches, and in the Response Assertion, I w

Re: variable substitution in data from csv file?

2007-01-11 Thread Alexander Wallace
Man, that is marvelous. Forgive me for not thinking about such things, I still have not learned the ways of jmeter, but it is starting to look like a superb tool. thanks! On Jan 11, 2007, at 8:23 AM, sebb wrote: On 11/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote: I think i didn't ex

Re: variable substitution in data from csv file?

2007-01-11 Thread sebb
On 11/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote: I think i didn't express what I meant well... In this case, the whole SELECT * FROM table WHERE id = ${__threadNum}; is contained in a ${query} variable, read from a file using a csv data set the ${query} var is being read by a jdbc sam

Re: variable substitution in data from csv file?

2007-01-11 Thread Alexander Wallace
I think i didn't express what I meant well... In this case, the whole SELECT * FROM table WHERE id = ${__threadNum}; is contained in a ${query} variable, read from a file using a csv data set the ${query} var is being read by a jdbc sampler ... but the $ {__threadNum} portion of the value

Response based request handling

2007-01-11 Thread Rsekhar
Hi All I'm new to Jmeter, i want to know can we handle the folowing scenario using Jmeter Let’s take the example of an airline. A person goes from A to B on a certain date on a certain flight at a certain time. When he books a ticket, a seat is reserved for him. The next person who books a tick

Re: How to use jmeter property function.

2007-01-11 Thread sebb
http://jakarta.apache.org/jmeter/usermanual/functions.html#__property On 11/01/07, Labudu Gopanna <[EMAIL PROTECTED]> wrote: I want to use property function for parameterization. Can anybody help me for property function? From Gopal "Legal Disclaimer: This electronic message and all conte

Re: Files missing - 2.2.zip extraction.

2007-01-11 Thread sebb
Where did you get the zip file from? On 11/01/07, asn_dileep <[EMAIL PROTECTED]> wrote: Hi, I download and unzip the 2.2.zip, Found missing some files in bin folder I see only 'testfiles' folder and 'jmetertest.properties' file in bin folder. I didn't find jmeter.bat file anywhere. :( Is

Re: variable substitution in data from csv file?

2007-01-11 Thread sebb
On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote: Is it possible by any chance that if i read data from a csv file, that strings of the type ${whatever} would be substituted by the value in jmeter? such that SELECT * FROM table WHERE id = ${__threadNum}; would actually but a number for

How to use jmeter property function.

2007-01-11 Thread Labudu Gopanna
I want to use property function for parameterization. Can anybody help me for property function? From Gopal "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected fr

RE: How to create multiple LDAP entries with unique uid?

2007-01-11 Thread Smits, Dolf
Hi, Simply add a pre-processor of type counter. Use this counter to fill in the number Counter start 0 increment 1 maximum 100 referenceName MyCounter Then add users as cn=${MyCounter} Success, Dolf Dolf Smits Senior Consultant Identity Management Solution