Re: RESTful API

2009-01-28 Thread Noel O'Brien
I've done some JMeter testing against restful API. Do you have any specific questions? Regards, Noel On Tuesday 27 January 2009 20:30:33 Ray Trejo wrote: > Hi, > > Has anyone out there done any load testing with Jmeter and restful API? > > > > Thank you, > > > > Ray Trejo > > Rackspace > > > >

Re: JMeter & importing csv file

2009-01-28 Thread sebb
On 27/01/2009, themyriad wrote: > > hello all, > I am testing performance of my web application. In a csv file i kept 100 > rows each containing user information, also created 100 threads that read > from csv file. The problem is that sometimes two or more threads picks the > same row, that i

Re: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread sebb
So what have you tried? Commonly used separators are comma and semi-colon. On 27/01/2009, ROBIN BRUNO wrote: > Yes I have and when I pushed the "Test Mail" button, jmeter returned > "One or more invalid e-mail addresses detected / Illegal white space in > address". > > > Bruno > > -Origina

Synchronisation of Thread Groups

2009-01-28 Thread Duncan Davidson
Hi I have 3 thread groups which have 9, 1 and 1 samplers respectively. I wish to run these threads numerous times but want them to start each new iteration in synch. I have tried a synchronisation timer but this didn't work. Any ideas grateful received. Thanks Duncan -- The University of Ed

Re: Is it possible to throw alert in between the script

2009-01-28 Thread sebb
On 28/01/2009, parray wrote: > > Hi, > While running my script i want jmeter stop executing the testplan until I > instructs it to continue. please help me in this > Thanks > This is not possible without writing some Java code. You could use any of the BSF or BSH elements (e.g. Timers) to ca

Re: MS InfoPath forms and JMeter

2009-01-28 Thread sebb
On 27/01/2009, Oliver Erlewein [DATACOM] wrote: > Hi Sebb, > > 1) GHIJK is just a form variable that gets Posted Is the value already set up in the form? If so, then you just need an RE to extract it. If not, then presumably the browser uses JS to set it up from other data in the response - whi

Re: JMeter & JWebUnit Integration - CSV Data Set

2009-01-28 Thread sebb
On 27/01/2009, Fitzpatrick, Adrian wrote: > > Hi, > > Just wondering if any has ever integrated JWebUnit scripts into JMeter, and > if so have you any ideas on how we could use the CSV data set config element > to update the data send by the Junit requests on each iteration? Thanks! I don't k

Re: Synchronisation of Thread Groups

2009-01-28 Thread sebb
I don't think this is possible without writing some code. You could add a BSF or BSH Timer which used some kind of locking to achieve what you want. For example: http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/CyclicBarrier.html This requires Java 1.5. On 28/01/2009, Duncan Davidso

RE: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread ROBIN BRUNO
I have tried white space (error message below), semi-colon (jmeter returned "One or more invalid e-mail addresses detected / Illegal semicolon, not in group") and comma (jmeter returned "One or more invalid e-mail addresses detected / Illegal address"). Bruno -Original Message- From: se

Re: Error While Recording the test

2009-01-28 Thread sebb
On 27/01/2009, maturipradeep wrote: > > HI, > > I am using Jmeter2.3.1 and Java4. Try upgrading to JMeter 2.3.2. > while i am recording the test i use to > found these error's in the Jmeter Log. Basically i am a Tester, i don't know > much coding. What to do for these Error. > > INFO - j

Re: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread sebb
According to the code, JMeter uses a comma to separate the addresses, so are you sure that all the e-mail addresses are valid? Try using the e-mail addresses singly, and then combine using a comma. On 28/01/2009, ROBIN BRUNO wrote: > I have tried white space (error message below), semi-colon (jm

Re: Error While Recording the test

2009-01-28 Thread maturipradeep
Hi Sebb, Thanks for your reply. I have reverted it to JMeter2.3.2 even though i have found same errors in JMeter Log file. sebb-2-2 wrote: > > On 27/01/2009, maturipradeep wrote: >> >> HI, >> >> I am using Jmeter2.3.1 and Java4. > > Try upgrading to JMeter 2.3.2. > >> while i am recordi

Re: Error While Recording the test

2009-01-28 Thread sebb
The only solution I can suggest is to use a different browser, and see if that works better. If not, and the web-site is publicly accessible, you may wish to raise a Bugzilla issue and give details of how to reproduce the error. If the errors only occur for some pages, you could temporarily disab

Fwd: [ANN-pmcs] Registration for ApacheCon Europe 2009 is now open!

2009-01-28 Thread sebb
ApacheCon EU 2009 registration is now open! 23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands http://www.eu.apachecon.com/ Registration for ApacheCon Europe 2009 is now open - act before early bird prices expire 6 February. Remember to book a room at th

RE: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread ROBIN BRUNO
> Try using the e-mail addresses singly, and then combine using a comma. That's what I did with my own e-mail address. Strange problem that really looks a parsing one! -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Wednesday, January 28, 2009 2:39 PM To: JMeter Users List

Re: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread sebb
Found the problem - the Test Button code fails to allow for multiple addresses. However, multiple comma-separated addresses do work when used by the listener as part of a test. On 28/01/2009, ROBIN BRUNO wrote: > > Try using the e-mail addresses singly, and then combine using a comma. > > That's

RE: How to put several emails in the Addressee(s) field of the Mail Visualizer listener?

2009-01-28 Thread ROBIN BRUNO
OK Sebb. Thanks very much for your great support! Bruno -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Wednesday, January 28, 2009 3:33 PM To: JMeter Users List Subject: Re: How to put several emails in the Addressee(s) field of the Mail Visualizer listener? Found the pro

Re: RESTful API

2009-01-28 Thread Noel O'Brien
What are the objectives of your test? (What do you want to prove/disprove)? Figure out this first, then you can design your tests in JMeter accordingly. I haven't load tested REST over HTTPS but I don't think it should be any different than HTTP. There's a good article here if you need to get go

how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
hi all, i am trying to test a sign-in(registration) form. hence, i need to use different data for each submission. i think using "CSV Data Set Config" would be the easiest route. i need your help to give me a step-by-step example on "CSV Data Set Config" using. all fields are not mandatory for th

Oracle JDBC Connection Problem

2009-01-28 Thread Shelli D. Orton
Hello, I'm using JMeter 2.3.2 and the Oracle JDBC ojdbc14_10.2.0.4.0.jar file. I'm trying to connect to a database that is using a service name, not a SID. I've set up my JDBC Connection Configuration/Database URL to be in the format: jdbc:oracle:thin:@:: I realize this is not a JMeter issue

Re: Oracle JDBC Connection Problem

2009-01-28 Thread david
Hello Shelli, what is the contents of your tns.ora file? David. Shelli D. Orton wrote .. > Hello, > > I'm using JMeter 2.3.2 and the Oracle JDBC ojdbc14_10.2.0.4.0.jar file. I'm > trying > to connect to a database that is using a service name, not a SID. I've set up > my JDBC Connection Config

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
please help me out guys. porobashi wrote: > > hi all, > > i am trying to test a sign-in(registration) form. hence, i need to use > different data for each submission. i think using "CSV Data Set Config" > would be the easiest route. i need your help to give me a step-by-step > example on "CSV

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Steve Kapinos
You must know and decide which fields to send in a form - that's completely separate from the CSV reader. All the CSV data reader is used for is to populate variables with values from a file. You define what variables are used to hold the values from your CSV file. Then you use those variables i

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Noel O'Brien
What kind of testing (functional, load)? Are you limited to a set of login data (e.g. 20 users) Regards, Noel On Wednesday 28 January 2009 16:56:55 porobashi wrote: > please help me out guys. > > porobashi wrote: > > hi all, > > > > i am trying to test a sign-in(registration) form. hence, i need

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
I am trying to load test our registration page. I am not limited on users, but will start with 10-20 users. I will like to enter only required fields value. My page is https, I will use BadBoy to record the page. Then I need to add "CSV Data Set Config" to the thread group, right? How to go from

Re: Urgent help needed:HTTP Authorization Manager is not working

2009-01-28 Thread sebb
On 27/01/2009, uzfarid wrote: > > Hi, > > I just tried with different user name, but again it is not logging it. Do you mean " ... it is not logging in." ? > I am wondering if Jmeter has some kind of requirements for userfield in HTTP > Authorization Manager?? No. > Because this user has

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Noel O'Brien
The number of concurrent users is controlled by he number of threads you configure in the Thread Group module. CVS Data Set Config module will load one line of a CSV file for each thread, so create a CSV file with at least as many entries as threads. Then you can add a HTTP Request sampler, spe

RE: Oracle JDBC Connection Problem

2009-01-28 Thread Shelli D. Orton
Hi All, I found the solution to my problem. The URL connect string has to be in a different format. Either of these worked for me: jdbc:oracle:thin:@//:/ jdbc:oracle:thin:@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=)) (CONNECT_DATA=(SERVICE_NAME=))) Shelli -Original Message-

Re: Oracle JDBC Connection Problem

2009-01-28 Thread sebb
On 28/01/2009, Shelli D. Orton wrote: > Hi All, > > I found the solution to my problem. The URL connect string has to be in a > different format. Either of these worked for me: > > > jdbc:oracle:thin:@//:/ > Which agrees with the sample in the table at the end of the following section: http

Re: Oracle JDBC Connection Problem

2009-01-28 Thread sebb
I've just found the following Oracle FAQ which might be helpful: http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html#05_03 On 28/01/2009, sebb wrote: > On 28/01/2009, Shelli D. Orton wrote: > > Hi All, > > > > I found the solution to my problem. The URL connect string

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
i recorded web-pages using BadBoy software. then exported to JMeter. added CSV File configuration module. entered filename, field names separated by commas. tried for 3 users. ran it, no error is Aggregate Report, but i don't see any entry in database for the registration. few days ago, i used B

Mail Retrieval issue using Mail Reader Sampler

2009-01-28 Thread Jeetendra
Hello, I'm using jmeter Mail Reading sampler for benchmarking POP server. I'm using CSV config file to get list of email addresses and passwords. Jmeter is able to login properly in pop server but its not retrieving any mails. Im using dovecot as pop servers and in the logs i get Jan 28

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Steve Kapinos
Add 'view results tree' listeners so you can watch what the sent data and response data is to the server. Then you'll have to debug what your form wants and what its responding to you. -Original Message- From: porobashi [mailto:poroba...@rocketmail.com] Sent: Wednesday, January 28, 2009

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
added 'view results tree', for registration page, on response data tab its showing "Response too large to be displayed. Size: 288676 > Max: 204800". Steve Kapinos wrote: > > Add 'view results tree' listeners so you can watch what the sent data > and response data is to the server. > > Then yo

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread sebb
Use Save Response to a File and load the file using a browser. On 28/01/2009, porobashi wrote: > > added 'view results tree', for registration page, on response data tab its > showing "Response too large to be displayed. Size: 288676 > Max: 204800". > > > > > Steve Kapinos wrote: > > > > Add

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
'view results tree' doesn't have any save response data option. how to do that? sebb-2-2 wrote: > > Use Save Response to a File and load the file using a browser. > > On 28/01/2009, porobashi wrote: >> >> added 'view results tree', for registration page, on response data tab >> its >> sho

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
I think JMeter is not reading data from my csv file. In the request field (for all 3 users) its showing same data, which I used to record the pages in BadBoy. Since that record got into database when I was recording, and its send same input again, my server is saying 'no, we already have that emai

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Steve Kapinos
Then you probably haven't configured your sampler correctly. Adding a debug sampler at the stage where your sampler is, and you can see the state of all variables at that time in the view results from tree. If your variables were wrong.. you'd see jmeter send the actual variable text... like ${s

Re: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread sebb
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file On 28/01/2009, porobashi wrote: > > 'view results tree' doesn't have any save response data option. how to do > that? > > > > sebb-2-2 wrote: > > > > Use Save Response to a File and load the file u

RE: MS InfoPath forms and JMeter

2009-01-28 Thread Oliver Erlewein [DATACOM]
Doing the RE on the headers seems to have worked (at least I can extract what I need)! Great! Thank you for the excellent help sebb. Again a life saver ;-) -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Thursday, 29 January 2009 2:07 a.m. To: JMeter Users List Subject: Re:

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
Thanks. I added debug sampler. After running test again, now in results tree its showing me response data, and they look correct. same as CSV file data. so, what might be the reason its not getting registered(not going into Database) Steve Kapinos wrote: > > Then you probably haven't con

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread porobashi
Thanks. I added debug sampler. After running test again, now in results tree its showing me response data, and they look correct. same as CSV file data. i attached one screenshot as well. so, what might be the reason its not getting registered(not going into Database) Steve Kapinos wrote:

RE: how to use "CSV Data Set Config" to take input from file

2009-01-28 Thread Steve Kapinos
We don't know anything about your application. Debugging what happens between the client's data and what your server does with it is up to you. Compare the results and logs of using a browser session and jmeter. Look at the server, there may be logging on that side to assist you. The debug sampl

Re: Error While Recording the test

2009-01-28 Thread maturipradeep
It work's for Mozilla Firefox3.0.5, i didn't find any errors in JMeter Log file but i have observer some exception on the JMeter Console. should we have to change anything in JMeter.properties to avoid these exceptions. unable to determine cannonical charset name for iso-41359-1 - using ISO-885