Re: Is there a way to stop a test if a specific value van not be found?

2009-10-13 Thread Marco Pas
Do you use a standard HTTP Sampler for that? Great tip by the way!! Thanks a lot! 2009/10/13 Ronan Klyne > Marco Pas wrote: > >> Hi there, i was wondering if there is a way to stop a specific test and >> logging this as an error to the logs? >> >> I can succesfully terminate a test with an if-co

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread Jakub Białek
First try with the newest JMeter 2.3.4 and check if the problem still occur. Best regards, Jakub 2009/10/14 vijayakumar : > I am using JMeter 2.3.2 and Java : version "1.6.0_13" > > My Configuration Settings in JMeter batch file are as follows . > > set HEAP=-Xms1024m -Xmx1024m > set NEW=-XX:Ne

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread vijayakumar
I am using JMeter 2.3.2 and Java : version "1.6.0_13" My Configuration Settings in JMeter batch file are as follows . set HEAP=-Xms1024m -Xmx1024m set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% set TENURING=-XX:MaxTenuringThreshold=2 set

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread Jakub Białek
One more question: What version of java and jmeter do you use? Best regards, Jakub 2009/10/14 Jakub Białek : > If you use both HEAP=-Xms1024m -Xmx1024m and NEW=-XX:NewSize=1024m > -XX:MaxNewSize=1024m it's a problem, try without -XX:NewSize=1024m > -XX:MaxNewSize=1024m. > If this doesn't help you

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread Jakub Białek
If you use both HEAP=-Xms1024m -Xmx1024m and NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m it's a problem, try without -XX:NewSize=1024m -XX:MaxNewSize=1024m. If this doesn't help you, show me all parameters/arguments that you pass to java command. Best regards, Jakub 2009/10/14 vijayakumar : > Oop

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread vijayakumar
Oops ! Sorry Jakub I used the heap Size as set HEAP=-Xms1024m -Xmx1024m only . and not as " set NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m " but still the Problem persist . Thanking You With warm regards, Vijayakumar.C - Original Message - From: "Jakub Bialek" To: "JMeter Users List

Re: AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread Jakub Białek
Hi, instead of -XX:NewSize=1024m -XX:MaxNewSize=1024m try with Xmx1024m Xms1024m Best regards, Jakub 2009/10/14 vijayakumar : > Dear All > > My self having 2 GB RAM in my machine and am running a JDBC Connection Config > Test Plan ( Oracle Database ) with 250 Concurrent users . > > I have set

AWT-EventQueue-0" java.lang.OutOfMemoryError

2009-10-13 Thread vijayakumar
Dear All My self having 2 GB RAM in my machine and am running a JDBC Connection Config Test Plan ( Oracle Database ) with 250 Concurrent users . I have set the Max number of Connection as 500 in JDBC Connection Configuration . The Query used in JDBC Request ( Query Type = ' Select Statemen

Re: CSV Data Set Config Question

2009-10-13 Thread Jatin Davey
Thanks Deepak. I tried this by looking into one of the examples that comes with JMeter bundle. Thanks for the help. I am good to go by having multiple users logging into my server. Need to tweak some more variables to make it work the way it is done using a browser with multiple sessions. I wil

Re: CSV Data Set Config Question

2009-10-13 Thread Deepak Shetty
Hi In your HttpSample under 'Send Parameters with request' under name enter the name of the field your application uses , under value enter ${a} where a is the name you've specfied in the CSV data set config so for e.g. if the application uses j_username and j_password as the fields and your CSV d

Re: CSV Data Set Config Question

2009-10-13 Thread Jatin Davey
Ok , i have defined a csv file where i have mentioned the user name and passwords. Also as mentioned earlier by you to split them into variables using the CSV data config element. This also is done. As per my understanding now i would be having the user name and password into 2 variables that i

Re: CSV Data Set Config Question

2009-10-13 Thread Deepak Shetty
hi if the data is tied to the user (e.g. the user's email address) then it must be the same CSV data set config (each column representing a data item). If the data is independent (e.g. the string the user enters into a search box) then you could have it as separate or different CSV data config elem

Re: CSV Data Set Config Question

2009-10-13 Thread Jatin Davey
On similar lines i too have a requirement as below: 1. Each thread logs into my server with different username and password 2. Within thread group there are samplers that require to take some value from the file for the user logged into my server using the step 1 So do i need to have to sepera

Re: JMeter Vs The Grinder

2009-10-13 Thread Jatin Davey
Thanks Deepak. Thanks for your reply. I too agree that it is purely subjective. But yes i am having great time working with JMeter :) Thanks Jatin Deepak Shetty wrote: Purely subjective(and ive used grinder years back so things might have changed) a. JMeter is easier to implement than Grinder

Re: can jmeter track the http referrer

2009-10-13 Thread Deepak Shetty
>Good application also need to see referrer, for example - web statistic :) True but not strictly needed for a performance / load test right? (unless this is the bit you are testing out). If you just need some value in this field (to prevent a server side error) then a HTTP header manager with a ha

Re: Adding Junit test to JMeter

2009-10-13 Thread sebb
Yes, this is included in current SVN code which is in nightly builds. On 13/10/2009, Deepak Shetty wrote: > As far as I know currently not supported. Someone had metioned that a patch > exists.. > > https://issues.apache.org/bugzilla/show_bug.cgi?id=47803 > > regards > deepak > > On Tue, Oc

Re: JMeter goes to reqursion causing broken logs

2009-10-13 Thread sebb
On 13/10/2009, Alexandr wrote: > jakarta-jmeter-2.3.4, jre1.6.0_16 > Good question. I can't find out now the url of page causing this error. I > think it's not a 100% reproducable or jmeter listener log will be full of > errors, but it's not. Only one error at one test. So I don't know what >

Re: Response message: Non HTTP response message: Too many open files

2009-10-13 Thread sebb
On 13/10/2009, Deepak Shetty wrote: > Id verify it by checking the server logs (or number of open sockets) > Im not sure what the jmeter error log would look like if it was the jmeter > that ran out of file descriptors (for the sockets) Exactly as shown ... > If you cant check the server logs

Re: Response message: Non HTTP response message: Too many open files

2009-10-13 Thread sebb
On 13/10/2009, Nikolay_Miroshnichenko wrote: > Deepak Shetty wrote: > > > Hi > > It looks like your server has reached its limit . you probably need to > > change ulimit on the server. When your requests fail you can probably > check > > the number of open sockets on the server (using netstat or e

Re: XML error

2009-10-13 Thread sebb
On 13/10/2009, Deepak Shetty wrote: > if you add a debug sampler before the if controllers what values do you get > for > ${IncidentID} and ${lock}?. Good idea - if one of those contains a double-quote this would cause problems. > are you sure its one of these that are failing? > > On Tue, O

Re: ASP.NET script

2009-10-13 Thread Deepak Shetty
try it out in a browser and check view source .. if it isnt there, is there some javascript that executes? use firebug or equivalent and singlestep and see. ). Use any browser montiroing tool to verify that some parameter named _VSTATE does get sent for the same page.. regards deepak On Tue, Oct

RE: ASP.NET script

2009-10-13 Thread David Schulberg
Hi, When I run my script I have a 'View Results in Table' listener wherein I capture all the xml response data. When I examine the contents of that response data the two hidden fields (__VIEWSTATE and __EVENTVALIDATION) are evident but there is no sign of __VSTATE. David -Original Message---

Re: can jmeter track the http referrer

2009-10-13 Thread Alexandr
Thanks! Good application also need to see referrer, for example - web statistic :) Can you advise me a method to read processed url in post-process bsh script? Or better the link on Domain model of jmeter with BSH script. 2009/10/14 Deepak Shetty > A referer is normally sent by the browser based

Re: can jmeter track the http referrer

2009-10-13 Thread Deepak Shetty
A referer is normally sent by the browser based on the page you were on when you clicked the link (and jmeter isn't a browser). If you absolutely need the referrer to be sent(if you have server code that relies on the referrer , the server code is just plain bad , especially if its during security

can jmeter track the http referrer

2009-10-13 Thread Alexandr
When I run my tests with http samplers I don't see referer in http request headers. I can't find anything in user manual how to realise it. Cookie manager controller can track sessions but doesn't track referrers. Why? Anybody make a referrer traking in their test? -- WBR, Alexandr Sukhov

Re: ASP.NET script

2009-10-13 Thread Deepak Shetty
As far as I know __VSTATE is also a hidden field(Its used for view state compression). In either case viewing the source should be able to tell you. Is the site visible on the internet that we can access? On Tue, Oct 13, 2009 at 3:24 PM, David Schulberg < david.schulb...@kjross.com.au> wrote: >

Re: JMeter goes to reqursion causing broken logs

2009-10-13 Thread Alexandr
jakarta-jmeter-2.3.4, jre1.6.0_16 Good question. I can't find out now the url of page causing this error. I think it's not a 100% reproducable or jmeter listener log will be full of errors, but it's not. Only one error at one test. So I don't know what browser do, may be just ignore wrong response

RE: ASP.NET script

2009-10-13 Thread David Schulberg
Hi, For those who haven't tried to use JMeter for testing ASP.NET Web pages they will find that it will require two hidden fields (_VIEWSTATE and _EVENTVALIDATION) to be passed for subsequent requests to a web page once the hidden fields have been set in the body. This can be achieved by creating

Re: Response message: Non HTTP response message: Too many open files

2009-10-13 Thread Deepak Shetty
Id verify it by checking the server logs (or number of open sockets) Im not sure what the jmeter error log would look like if it was the jmeter that ran out of file descriptors (for the sockets) If you cant check the server logs/dont have access to it , an easy to verify is run the same test (but

Re: Response message: Non HTTP response message: Too many open files

2009-10-13 Thread Nikolay_Miroshnichenko
Deepak Shetty wrote: Hi It looks like your server has reached its limit . you probably need to change ulimit on the server. When your requests fail you can probably check the number of open sockets on the server (using netstat or equivalent). . there are other OS related parameters related to how

Re: Response message: Non HTTP response message: Too many open files

2009-10-13 Thread Deepak Shetty
Hi It looks like your server has reached its limit . you probably need to change ulimit on the server. When your requests fail you can probably check the number of open sockets on the server (using netstat or equivalent). . there are other OS related parameters related to how long the socket should

Re: CSV Data Set Config Question

2009-10-13 Thread Deepak Shetty
hi Each row should correspond to the data per user so in your case user1,pass1,otherdata user2,pass2,otherdata user3,pass3,otherdata user4,pass4,otherdata The variable names are defined in the CSV data set config in most cases you should be able to put the CSV data set config as a child of the th

Response message: Non HTTP response message: Too many open files

2009-10-13 Thread Nikolay_Miroshnichenko
Hi, we're testing a web site under 1000 users (threads) load. Currently our servers hold about 500 simultaneous users with great latencies. With more users the requests fail. But I'm not sure where the problem is. Whether it the server declines or JMeter or JVM problem. Looking at the error mes

Re: JMeter goes to reqursion causing broken logs

2009-10-13 Thread sebb
On 13/10/2009, Alexandr wrote: > Hello! > > I had wrote a load testing scenario for web site (LAMP). After running it > for a few hours I've got a broken logs and it was multiple times. > After investigation I found what jmeter goes to recursion when he download a > broken embedded resources l

CSV Data Set Config Question

2009-10-13 Thread arubin41
New to jMeter and I'm running into what's likely a very-rookie question. I'm creating CSV Data Set Config to set up 5 usernames and passwords. My question is regarding the structure of my txt file. Do you establish the variables similar to javascript (or whatever language): var USER {username1

Re: XML error

2009-10-13 Thread Deepak Shetty
if you add a debug sampler before the if controllers what values do you get for ${IncidentID} and ${lock}?. are you sure its one of these that are failing? On Tue, Oct 13, 2009 at 1:17 PM, Peter Peterse wrote: > Hello, > > when I execute a jmeter test the log gives me an error: >

XML error

2009-10-13 Thread Peter Peterse
Hello, when I execute a jmeter test the log gives me an error: = 2009/10/13 22:05:11 ERROR - jmeter.control.IfController: illegally formed XML syntax (#1) org.mozilla.javascript.EvaluatorException: illegally formed XML syntax (#1) at org.mozilla.javascript.DefaultEr

Re: JMeter Vs The Grinder

2009-10-13 Thread Deepak Shetty
Purely subjective(and ive used grinder years back so things might have changed) a. JMeter is easier to implement than Grinder (if you dont have a programming background). grinder is mainly for programmer's where as JMeter could be run by people who only need to know how HTTP works. b. JMeter is eas

Re: Adding Junit test to JMeter

2009-10-13 Thread Deepak Shetty
As far as I know currently not supported. Someone had metioned that a patch exists.. https://issues.apache.org/bugzilla/show_bug.cgi?id=47803 regards deepak On Tue, Oct 13, 2009 at 12:08 PM, Sri123 wrote: > > hi > > I want to add the Junit 4.0 test case that I have created for my > application

Re: Different threads with different users

2009-10-13 Thread Nikolay_Miroshnichenko
sebb wrote: On 13/10/2009, Jatin Davey wrote: Hi All I have a requirement where in each thread requires to use a seperate username and password to log into the server and execute the samples. Say i have 50 users who can log into the server and perform the operations then i want JMeter to lau

Adding Junit test to JMeter

2009-10-13 Thread Sri123
hi I want to add the Junit 4.0 test case that I have created for my application into JMeter. Please let me know how I can do this. Thanks Sri -- View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html Sent from the JMeter - User mailing list arc

Re: JMeter Logging into Single Sign on

2009-10-13 Thread Sri123
Thanks All. I got that to work. Sri123 wrote: > > Hello All > > I am new to JMeter. I am trying to setup JMeter load testing for my > application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3 > OC4J SOA suite container for deploying the application. I am trying to > logging to m

Re: ASP.NET script

2009-10-13 Thread Deepak Shetty
__VSTATE gets posted as a hidden field , all you need to do is write another extractor which pulls out this value and set this as a paraneter in the HTTPRequest (similar to what you do for Viewstate). If it still doesnt work , please compare with what the browser sends with what Jmeter sends On Mo

RE: SoapUI 2.5.1 Requests not working in JMeter 2.3.4 r785646

2009-10-13 Thread Paul_Murdoch
Problem solved!! First I added a View Results Tree Listener as suggested in the link below. By doing this I saw that the problem was in the response from the web service. JMeter was processing the response as soap v1.1 when it should have been soap v1.2. To fix this I added a HTTP Header Manager

JMeter goes to reqursion causing broken logs

2009-10-13 Thread Alexandr
Hello! I had wrote a load testing scenario for web site (LAMP). After running it for a few hours I've got a broken logs and it was multiple times. After investigation I found what jmeter goes to recursion when he download a broken embedded resources like CSS file which is absend but web site catch

Re: JMeter Logging into Single Sign on

2009-10-13 Thread sebb
Read the page at the URL and follow its suggestions. On 13/10/2009, Sri123 wrote: > > I dont understand your previous response to my message. Please explain to me > what I should do next? > > Thanks > > Sri > > sebb-2-2 wrote: > > > > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour

Re: JMeter Logging into Single Sign on

2009-10-13 Thread Sri123
I dont understand your previous response to my message. Please explain to me what I should do next? Thanks Sri sebb-2-2 wrote: > > http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour > > On 13/10/2009, Sri123 wrote: >> >> I tried adding the Authorization manager inside my thread group a

RE: SoapUI 2.5.1 Requests not working in JMeter 2.3.4 r785646

2009-10-13 Thread Paul_Murdoch
Thanks. I'll try the suggestions in the link below. One thing to note is that I cut and pasted the request from SoapUI 2.5.1 where it works. I just found JMeter last week and am anxious to perform the load tests on the web service which SoapUI 2.5.1 can't do. This will be a great test tool once I

Re: JMeter Logging into Single Sign on

2009-10-13 Thread sebb
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour On 13/10/2009, Sri123 wrote: > > I tried adding the Authorization manager inside my thread group and got the > message. Please see the .jmx file after adding the authorization manager. > > http://www.nabble.com/file/p25874114/Login%2BThr

Re: JMeter Logging into Single Sign on

2009-10-13 Thread Sri123
I tried adding the Authorization manager inside my thread group and got the message. Please see the .jmx file after adding the authorization manager. http://www.nabble.com/file/p25874114/Login%2BThread.jmx Login+Thread.jmx I am still getting the same 401 unauthorized response code and the same

Re: SoapUI 2.5.1 Requests not working in JMeter 2.3.4 r785646

2009-10-13 Thread sebb
On 13/10/2009, paul_murd...@emainc.com wrote: > Using Soap/XML-RPC sampler seemed to get me a step closer. At least I > got an error message in the results file. Using... > > > soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; > xmlns:wsin="http://login_package/webservice";>

Re: Different threads with different users

2009-10-13 Thread sebb
On 13/10/2009, Jatin Davey wrote: > Hi All > > I have a requirement where in each thread requires to use a seperate > username and password to log into the server and execute the samples. > Say i have 50 users who can log into the server and perform the operations > then i want JMeter to launch

Re: JMeter Logging into Single Sign on

2009-10-13 Thread sebb
http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour Did you add an Authorization Manager? On 13/10/2009, Sri123 wrote: > > Hello All > > I am new to JMeter. I am trying to setup JMeter load testing for my > application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3 > OC4J

Re: Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread sebb
On 13/10/2009, Circle Computers wrote: > > > A quick web search gave me lots of JavaScript Base64 implementations. > > > True but they are all about 30 lines of code so not suitable for inclusion > in __javaScript(). > You can still use them in a BSF/Javascript Pre-Processor. > > vars.put("no

RE: SoapUI 2.5.1 Requests not working in JMeter 2.3.4 r785646

2009-10-13 Thread Paul_Murdoch
Using Soap/XML-RPC sampler seemed to get me a step closer. At least I got an error message in the results file. Using... soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; xmlns:wsin="http://login_package/webservice";> foo bar

Different threads with different users

2009-10-13 Thread Jatin Davey
Hi All I have a requirement where in each thread requires to use a seperate username and password to log into the server and execute the samples. Say i have 50 users who can log into the server and perform the operations then i want JMeter to launch 50 threads with each thread logging into the

JMeter Logging into Single Sign on

2009-10-13 Thread Sri123
Hello All I am new to JMeter. I am trying to setup JMeter load testing for my application. My application uses JDK 1.5 and Struts 1.1 and Oracle 10.1.3 OC4J SOA suite container for deploying the application. I am trying to logging to my application using JMeter which redirects my request to http:

Re: JMeter downloading more data than the browser

2009-10-13 Thread Jatin Davey
One more point to add is that i am deriving my samples by recording them using the HTTP Proxy recorder. Thanks Jatin Jatin Davey wrote: Hi All I have some HTTP Post requests that need to be sent to the server which return some data. The catch here is that : -- First HTTP Post request downl

JMeter downloading more data than the browser

2009-10-13 Thread Jatin Davey
Hi All I have some HTTP Post requests that need to be sent to the server which return some data. The catch here is that : -- First HTTP Post request download 38319 bytes of data -- Second HTTP Post request downloads the same 38319 bytes of data But when i observed this using the traffic analy

Re: Is there a way to stop a test if a specific value van not be found?

2009-10-13 Thread Ronan Klyne
Marco Pas wrote: Hi there, i was wondering if there is a way to stop a specific test and logging this as an error to the logs? I can succesfully terminate a test with an if-controller but then the tests stops and there is no logging done to a listener. Can i somewho dump a message to a listene

Is there a way to stop a test if a specific value van not be found?

2009-10-13 Thread Marco Pas
Hi there, i was wondering if there is a way to stop a specific test and logging this as an error to the logs? I can succesfully terminate a test with an if-controller but then the tests stops and there is no logging done to a listener. Can i somewho dump a message to a listener so i can see i

Re: Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread Circle Computers
> A quick web search gave me lots of JavaScript Base64 implementations. True but they are all about 30 lines of code so not suitable for inclusion in __javaScript(). > vars.put("now")=System.currentTimeMillis(); > is a simple example of setting a variable in BeanShell. Thanks, I'll do some inv

Re: ASP.NET script

2009-10-13 Thread sebb
On 13/10/2009, David Schulberg wrote: > Hi, > > > > I have followed the approach described in the WIKI > (http://wiki.apache.org/jakarta-jmeter/JMeterTesting/ASPNETViewState) and on > the blog (http://blog.technicallyworks.com/search/label/JMeter) but I > believe that my simple script is not w

Re: Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread sebb
On 13/10/2009, Circle Computers wrote: > > > -- You can use the BSF or BeanShell pre-processors to call any Java > > -- function you like, and save the converted result in a variable. > > > Hi, yes I already use __javaScript widely although the javaScript does not > seem to be suitable for base6

Re: Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread Circle Computers
-- You can use the BSF or BeanShell pre-processors to call any Java -- function you like, and save the converted result in a variable. Hi, yes I already use __javaScript widely although the javaScript does not seem to be suitable for base64 encoding, jexl & benshell maybe but I cannot seem to fi

Registration is not happening

2009-10-13 Thread nanduri
Hi, Im doing parameterization for inserting multiple users registrattion.During cpaturing a script i have done registrattion.But when im running the script for 20 different registrationn users are not getting registered and insterted into database .During running the script each user captcha code

Re: Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread sebb
On 13/10/2009, Circle Computers wrote: > > Hi > > First post, I've searched and cannot find the answer to my question so here > goes. > > I've been using JMeter for about 6 months now with great success. > > For my next project I need to be able to encode the data I'm sending to a > HTTP ser

Re: uploading file

2009-10-13 Thread sebb
On 13/10/2009, sudheer reddy wrote: > Hi Sebb > > I have a file on my local machine, i have given full path of the file and > paramete r name in send files request table in http request in jmeter when i > run this script in jmeter it is not uploading file . When i check > the request sent t

Encode HTTP QueryString & Post Data to Base64

2009-10-13 Thread Circle Computers
Hi First post, I've searched and cannot find the answer to my question so here goes. I've been using JMeter for about 6 months now with great success. For my next project I need to be able to encode the data I'm sending to a HTTP server into Base64 (querystring & post data). The data source wil