Re: number of threads vs number of simulated users

2010-07-29 Thread nicolas de loof
This would be true with > N cores available, but the Threads allready have to share the available ones using OS multi-threading "core-pool". There is ALLREADY a backlog queue at OS level for our Threads to execute on limited ressources. Using on Thread per User don't ensure concurrent requests, you

Re: http request with url: http://user:passw...@host/path

2010-07-29 Thread Deepak Shetty
Hi put host in server name/IP. Use http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Authorization_Managerfor username/password regards deepak On Thu, Jul 29, 2010 at 6:52 PM, Tao Weibang wrote: > Guys: > > > > Http Request: > > > > Server Name or IP: > > > > If the ur

http request with url: http://user:passw...@host/path

2010-07-29 Thread Tao Weibang
Guys: Http Request: Server Name or IP: If the url like this: http://user:passw...@host/path What should I put it 'Server Name or IP:', If I put user: passw...@host, the cscript doesn't work. -Weber '

Re: Sending a JSON snippet as POST payload

2010-07-29 Thread Deepak Shetty
hi 1. Use CSV Data Set Config. This will let you define variables which correspond to columns. Every iteration will have the variables take the values of the next row 2. if simple , you can directly do this in the HTTP sampler 3. Use an HTTPSampler. In the parameter section keep the name field blan

Re: Sending a JSON snippet as POST payload

2010-07-29 Thread Sriharsha Setty
Hi Deepak, On Fri, Jul 30, 2010 at 3:02 AM, Deepak Shetty wrote: > Can be done using the standard HTTPSampler. > If your objects are complex use something like http://www.json.org/java/to > get your objects and String alongwith Beanshell in Jmeter to dynamically > add > your values to the sample

Re: OutOfMemoryError: Java heap space

2010-07-29 Thread Patty . Wong
Thank you. patty Re: OutOfMemoryError: Java heap space Deepak Shetty to: JMeter Users List 07/29/2010 02:24 PM Please respond to "JMeter Users List" Your environment is configured to run java for files of extension.jar. There is no way as far as i know to do what you want (You could

Re: Sending a JSON snippet as POST payload

2010-07-29 Thread Deepak Shetty
Can be done using the standard HTTPSampler. If your objects are complex use something like http://www.json.org/java/ to get your objects and String alongwith Beanshell in Jmeter to dynamically add your values to the sampler otherwise you can manipulate strings yourself regards deepak On Thu, Jul

Re: number of threads vs number of simulated users

2010-07-29 Thread Deepak Shetty
If you want N concurrent requests , you need N threads. Any kind of thread pool / execute - backlog queue mechanism would only give you an approximation and in addition would need you to tune the pools based on your requirements - which is probably a much harder task. On Thu, Jul 29, 2010 at 4

Re: OutOfMemoryError: Java heap space

2010-07-29 Thread Deepak Shetty
Your environment is configured to run java for files of extension.jar. There is no way as far as i know to do what you want (You could configure your OS to run jmeter.bat for .jar but thats probably not what you want) On Thu, Jul 29, 2010 at 1:59 PM, wrote: > > Deepak, > > I have been playing wi

junit4 annotations in class which extends

2010-07-29 Thread rroy
I'm new to JMeter and would like to use it to drive load on some pre-existing JUnit4 tests I have. I took the sample in lib/junit/test/DummyAnnotatedTest.java and changed just this line from public class DummyAnnotatedTest to public class DummyAnnotatedTest extends org.echarts.test.sip.CATTes

Re: Page Expirates appears while running my scirpt

2010-07-29 Thread Thibaut Raballand
Hi, As you can tell by the many answers you received, we don't understand what your problem is. Maybe you should investigate more and explain a bit how the site you're testing works... The only guess I got after reading your mail is that the pdf you tried to up/download when recording was associa

Re: OutOfMemoryError: Java heap space

2010-07-29 Thread Patty . Wong
Deepak, I have been playing with it. Now, what I do is to execute jmeter.bat to open up jmeter, then pull up my test plan and do not get anymore errors. If I execute jmeter icon linked to the ApacheJMeter.jar, that is the time I got the OutOfMemory error. I just do not understand the reason fo

number of threads vs number of simulated users

2010-07-29 Thread nicolas de loof
Hi, There's many threads on this list about simulating high number of users with jMeter. The main limitation seems to be the number of threads. I wonder why jMeter uses the "1 dedicated Thread per (Virtual) User" strategy : - each Thread uses native memory, large number of threads requires muc

Page Expirates appears while running my scirpt

2010-07-29 Thread gsub
Hi All, I have created a script for uploading a PDF scenario (exclued .js, jgp, gif .png while recording). After I running that script, it is giving me: GET "http://www.abc.com/PageExpired " when i checked in request response(i.e sampler>result tree). And too after every sampler, in my testplan

Sending a JSON snippet as POST payload

2010-07-29 Thread Sriharsha Setty
Hi Jmeter users, I am trying load test a CouchDB cluster by adding new documents and retrieving them. Now CouchDB accepts document additions through a JSON snippet sent a s POST payload. Now I wish to create the JSON snippet (on the fly) by parsing a CSV dataset that I have and then send that t

Help with variables

2010-07-29 Thread Blostin
Hi, I need some help in creating the following steps in a test that I want to automate. I have a situation where a user logs in who is already assigned to a particular course. There are many different courses so do I need to create a list of courses in a csv file? The next situation is that the u

Re: Xpath Extractor

2010-07-29 Thread gsub
hi dibya,,, just writing this test mail ... seeing if my message is been posted or not.. sorry for the inconvinience.. regards gp On Thu, Jul 29, 2010 at 10:38 AM, dibyajyoti_mondal [via JMeter] < ml-node+2256706-1610182527-42...@n5.nabble.com > wrote: > I am trying to catch the value of OrderHe

asd

2010-07-29 Thread gsub
asd -- View this message in context: http://jmeter.512774.n5.nabble.com/asd-tp2256710p2256710.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: Page Expirates appears while running my scirpt

2010-07-29 Thread Felix Frank
Stop asking the same question over and over. If nobody will answer, rephrase it. I shall assume that you expect that your application will generate a PDF your test is supposed to *download*, yes? How does the application work? Before you get a PDF, is there a form to fill out? Is the input passed

Page Expirates appears while running my scirpt

2010-07-29 Thread gsub
I All, I have created a script for uploading a PDF (exclued .js, jgp, gif .png while recording). After I running that script, it is giving me GET "http://www.abc.com/PageExpired " when i checked in REQUEST response(sampler>result tree). after every sampler i already have cookie manager in my te

Re: Upload a document [word or pdf]

2010-07-29 Thread gsub
Hi GK i have a same scenaior in my php pplication, can you please let me know if you have over come with your problem pl do share your experience regards GP -- View this message in context: http://jmeter.512774.n5.nabble.com/Upload-a-document-word-or-pdf-tp532383p2256707.html Sent from the