JMeter on a Headless Server

2006-02-27 Thread Dan Diephouse
I would like to run JMeter on a machine that doesn't have an X server running. I created a plan with a Thread group, soap/xml-rpc request, and an aggregate report. I then try to run it on the machine by doing : java -jar ApacheJMeter.jar -n -t ../../Plan.jmx And it fails with: Created the tre

Re: Random java.io.IOException errors

2006-02-27 Thread sebb
This does not look like a JMeter error. The most likely cause is that the remote server has closed the connection or the connection has been dropped for some reason. Check the remote server logs. S. On 28/02/06, Milla Makelainen <[EMAIL PROTECTED]> wrote: > Hi guys, > > I saw an email on this su

Re: Oracle Exception on the JDBC Driver

2006-02-27 Thread sebb
On 27/02/06, Kalamegam, Poongundran (Poongs), ALABS <[EMAIL PROTECTED]> wrote: > Hi, >JDBC Exception in aggregate report logs. > responseMessage="java.sql.SQLException: Non supported SQL92 token at > position: 232: __Random" timeStamp="1141079612312" dataType="" > label="Insert-3 Report" respo

Random java.io.IOException errors

2006-02-27 Thread Milla Makelainen
Hi guys, I saw an email on this subject from earlier this month, but there was no resolution to it that I could find. I think I'm having the same problem - randomly I get the following error: java.io.IOException: Stream closed at java.io.BufferedInputStream.getInIfOpen(Unknown Source) at java.io.

Oracle Exception on the JDBC Driver

2006-02-27 Thread Kalamegam, Poongundran \(Poongs\), ALABS
Hi, JDBC Exception in aggregate report logs. When I run the request for over a 20 threads and 10 JDBC connections and Loop Count=1, there were no issues. When I ran the request for over a 42 threads and 48 JDBC Connections and Loop Count=Forever, there were several of these exception

Re: Echo or print out CSV data...

2006-02-27 Thread sebb
Just to clarify - you don't need to use BeanShell to use the log function; you can use it anywhere that a variable can be used, e.g. CSV Data set - defines VAR1 HTTP Sampler uses ${VAR1} or you can put HTTP Sampler uses ${__log(${VAR1})} S. On 27/02/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote: >

Re: how to accumulate variables

2006-02-27 Thread sebb
If you know how many matches there are, then you can just refer to their variable names. e.g. ${VAR_1_g1},${VAR_2_g1},${VAR_3_g1},${VAR_4_g1} Otherwise, it would be possible to write a BeanShell function to loop over the variables. S. On 27/02/06, Yiping Yang <[EMAIL PROTECTED]> wrote: > Hi all

RE: Echo or print out CSV data...

2006-02-27 Thread Lincoln, Adym
Yup. It's working. I had the log() stuff in there from the example in the docs...I was able to cobble together the following BeanShell script to get what I wanted... log.info( Thread.currentThread().name + " User [ " + vars.get("userid") + " ] Issue [ " + vars.get("id-bug") + " ]" ); thx, Ad

Re: Echo or print out CSV data...

2006-02-27 Thread sebb
Have you looked at the log()/logn() functions? http://jakarta.apache.org/jmeter/usermanual/functions.html#__log On 27/02/06, Lincoln, Adym <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to figure out a way to "echo/print" the values of my > variables in JMeter. Basically, I have two CSV fi

RE: Which controller to use with CSV data set config

2006-02-27 Thread Lincoln, Adym
Shih-Chen, Is your CSV Data file setup as a "child" of the Loop Controller? What you describe should be working if the CSV Data file is a child. I use a While Controller() and my CSV Data file is a child and it works fine... hth, Adym Lincoln I/S Corporate - I/S Internal Applications 603-245-3

RE: Which controller to use with CSV data set config

2006-02-27 Thread Yiping Yang
I used loop controller before. it works. In each iteration, it will read next row automatically. Did you put the CSV data set config outside the loop controller? The config should be put inside the loop. Thanks, yiping -Original Message- From: Shih-Chen Chiang [mailto:[EMAIL PROTECTED] S

Which controller to use with CSV data set config

2006-02-27 Thread Shih-Chen Chiang
Hi All, I am using a CSV data set config to read values into my variables. This CSV data set config has 10 rows. I have one HTTP Request Sampler that defines those variables. I tried to use a Loop Controller with the HTTP Request sampler as its child. But only the first row of my CSV data file

how to accumulate variables

2006-02-27 Thread Yiping Yang
Hi all, I met a little bit interesting problem. From Http response data, I get data string like that. 47 63 49 50 I use "Regular Expression Extractor" to get the number between tags. The problem is I want to get all these numbers and format them into a string like that: "47,63,49,50". I tr

Re: Locks or semaphores in Jmeter?

2006-02-27 Thread Noam Paz
Garry, if mechanism like locks or semaphores are desired, they should be implemented within the tested application. JMeter merely simulates USING the application. It won't supply you with extra security mechanism not designed/not implemented in the tested application. Best regards / Viele Grüße

Echo or print out CSV data...

2006-02-27 Thread Lincoln, Adym
Hi all, I am trying to figure out a way to "echo/print" the values of my variables in JMeter. Basically, I have two CSV files that I am reading data from. One CSV data file is read in by the Thread Group, the other from a While Controller(). What I would like is a way to echo and/or print the v

Locks or semaphores in Jmeter?

2006-02-27 Thread Garry L. Thompson
Is there any concept of locks or semaphores in Jmeter? I am currently testing a web based API which accesses an internal database. I do a call to the API via the http request sampler. I then do another API call to verify that the correct thing happens. This works great with a single thread. Howe

Re: ftp requests

2006-02-27 Thread sebb
I've never used the FTP sampler, but the code should fetch the contents of the file. The contents of the file are not stored, however. S. On 27/02/06, Ingram, David - Contractor <[EMAIL PROTECTED]> wrote: > I need to have the actual FTP request run to completion. Jmeter appears to > execute the

ftp requests

2006-02-27 Thread Ingram, David - Contractor
I need to have the actual FTP request run to completion. Jmeter appears to execute the ftp request but not actually complete it (i.e. actually receive the file to the server). Is this what actually occurs or am I missing something?

Re: Sending Http request parameters from beanshell script.

2006-02-27 Thread sebb
On 27/02/06, Gargi Kumar <[EMAIL PROTECTED]> wrote: > > > Hi, > > Is it possible to send Http request parameter from beanshell script. > > I have a HTTPRequest Sampler and want to send parameter with the request > through bean shell script. > > Even if I add the parameter in HTTP Request Sampler ,t

Sending Http request parameters from beanshell script.

2006-02-27 Thread Gargi Kumar
Hi, Is it possible to send Http request parameter from beanshell script. I have a HTTPRequest Sampler and want to send parameter with the request through bean shell script. Even if I add the parameter in HTTP Request Sampler ,then I want to change the value of that parameter from beanshell s

Re: Require a mechanism to create random values across threads

2006-02-27 Thread sebb
On 27/02/06, Kalamegam, Poongundran (Poongs), ALABS <[EMAIL PROTECTED]> wrote: > JMETER-3-8466792 > JMETER-3-8466792 > > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-3-8466792 > JMETER-

Re: problem with response data in viewresult tree

2006-02-27 Thread mahesh kumar
Hi Vishal, This is not exactly my problem.When i am taking the dynamic values from that page i am not getting the values from that page.but when i tried manually(go to that page and right click on the page see the view source i am getting that value).when i am running the script using jmeter i