Constant throughput timer value in bytes/second

2010-05-04 Thread Ivan Rancati
I need to simulate a number of phones (each of them connecting with a maximum download speed, let's say gprs) downloading files (whose size can vary). In similar cases I would compute an appropriate number of req/second and then input it in the Constant Throughput Timer but, as file size can vary

Re: Connections released on HTTP Requests

2009-11-16 Thread Ivan Rancati
BC.Vijayakumar wrote: > > Am not using linux , we are using Windows XP Professional and Java > appication with Oracle Database . > > So can you guys please let me know what to do to monitor ( or release > connection after test properly ) the connections during the test . > You can use netsta

Re: Running JMeter on Ubuntu

2009-11-13 Thread Ivan Rancati
I have run JMeter on Linux (SuSE first, then Kubuntu) for years, no particular problems. At some stage I got some errors with the open source JRE, but they all disappeared when I switched to the Sun JRE. One small issue (that I think is KDE related, so you'll probably see it in Kubuntu but not Ubu

Re: Connections released on HTTP Requests

2009-11-12 Thread Ivan Rancati
BC.Vijayakumar wrote: > > > Can you please let me know how can I monitor the number of connections > being used by JMeter during the test and after test ? > If you are using linux on the client and/or the server, this command netstat -antp | awk '{print $5}' will print the foreign addresses

Re: recording in jmeter

2009-11-03 Thread Ivan Rancati
lasseZ wrote: > > I have a problem when recording using Jmeter. > > I have a log in page where I type in username and password. I record the > whole scenario, but when I Start the recorded script the entered username > and password do not get filled in. Why? > > In the HTTP request the passw

Re: Runtime variable replacement/expansion for files?

2008-12-16 Thread Ivan Rancati
this could get you started http://www.nabble.com/Variable-substitution-in-POSTed-files-tp11520870p11524863.html Ivan joeweder wrote: > > I have been using JMeter for awhile and there is one thing that I wish > that I could do. I would like to be able to replace a few elements of test > files

Extrapolating performance data to a customer base

2008-10-20 Thread Ivan Rancati
I apologize for the slightly off topic post, but I guess it's a topic that performance testers often encounter. In general, the issue is: after running some tests, I now know that a Web server farm can serve x concurrent customers in an average of y seconds per customer. What is a reasonable for

Re: Wbservices load testing

2008-03-12 Thread Ivan Rancati
Anilparakkad wrote: > > Can anybody help me in resolving the exception: > "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, > which is NOT expected, in something it was trying to deserialize" > You could try to get the SOAP response with another tool (for example SoapU

Re: Testing http dowload of large files

2008-03-12 Thread Ivan Rancati
sebb-2-2 wrote: > > > Unfortunately the data is still saved in the sample result, at least > temporarily. > Thanks for the clarification. I guess a workaround would be using BeanShell with something like return exec("wget -S -O /dev/null http:"); Has anybody tried something similar? I

Re: Jmeter remote testing

2008-03-10 Thread Ivan Rancati
wicket0123 wrote: > > OK. I got a littler farther now after reading the "Distributed Testing" > link on the JMeter site. I'm going to list my system settings: > > 1) I'm using jdk1.6 which resides in "c:\program files\java\jdk1.6.xx" > 2) I set windows environment variable JAVA_HOME to point

Testing http dowload of large files

2008-03-10 Thread Ivan Rancati
I need to test the performance of a http server with increasingly bigger files, so I have set up 4 linux hosts that are running jmeter-server 2.3.1 (jdk 1.6, using up to one GB for heap) and one controller running jmeter in graphical mode (no results tree, only an Aggregate Report). I don't need

Re: Jmeter

2008-01-09 Thread Ivan Rancati
pravin shiraskar wrote: > > i have test one application using Jmeter. All the result file in jmx > (like > summary report,result tree).now i want to make report of this file to sent > to other person. ihe other person also required jmeter to open this file. > or > how can i make report of testi

Re: FileSystemPreferences exception

2008-01-08 Thread Ivan Rancati
sebb-2-2 wrote: > > > There's no way to configure this; just ignore the warnings. > > However it would be useful to know which version of Java and OS you > are using, so we can perhaps fix this for the next release. > hello, here is a configuration where I see the same (harmless, afaik) mess

Re: Just noticed a JMeter forum on the SQA website

2007-11-07 Thread Ivan Rancati
Richard Hubbell-2 wrote: > > It's hard to search, seems that it searches the entire > site instead of just the jmeter forum. > I think you can click on the Search link and select a single forum http://www.sqaforums.com/search.php?Cat=0 Having said that, I have only had a quick glance at some

Just noticed a JMeter forum on the SQA website

2007-11-02 Thread Ivan Rancati
apologies if this is old news. Might be another place to search for info http://www.sqaforums.com/postlist.php?Cat=0&Board=UBB54 http://www.sqaforums.com/postlist.php?Cat=0&Board=UBB54 -- View this message in context: http://www.nabble.com/Just-noticed-a-JMeter-forum-on-the-SQA-website-tf47364

Re: How to see the value which is extracted by the Regular Expression Extractor

2007-10-09 Thread Ivan Rancati
You could set the log_level.jmeter to DEBUG in jmeter.properties (there's also an option in the menu, I haven't tried it yet) -- View this message in context: http://www.nabble.com/How-to-see-the-value-which-is-extracted-by-the-Regular-Expression-Extractor-tf4592681.html#a13112757 Sent from th

Re: small change in Response Assertion between 2.3RC3 and 2.3

2007-10-04 Thread Ivan Rancati
Response Assertions now have a separate check-box for Response Headers - have you tried that? I had not noticed that change from 2.3RC3 to the final 2.3, and that was exactly the problem. Thanks and apologies for the noise. -- View this message in context: http://www.nabble.com/small-change-

small change in Response Assertion between 2.3RC3 and 2.3

2007-10-04 Thread Ivan Rancati
I have some response assertions that fail in 2.3 but pass in 2.3RC3 (same .jmx file, and the response assertion also worked in older JMeter builds) The failing expression is HTTP/1.1 200 OK and the problematic character seems to be the forward slash. Escaping it (i.e. \/) does not fix the probl

"Log errors only" in 2.3 RC3

2007-08-14 Thread Ivan Rancati
If I open with 2.3RC3 a test plan that was saved with the "Log errors only" option, then disable the option and run the tests, I still don't see successful results in View Results Tree. Has anybody else seen this? thanks Ivan -- View this message in context: http://www.nabble.com/%22Log-err

Re: Variable substitution in POSTed files

2007-07-10 Thread Ivan Rancati
sebb-2 wrote: > > On 10/07/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: > > Not within JMeter. > > Though could use the BeanShell pre-processor to fixup the file if you > are prepared to write the necessary Java code. > > Thanks for the suggestion. It w

Variable substitution in POSTed files

2007-07-10 Thread Ivan Rancati
I am using nightly build r554518 (2.2 seems to always POST as multipart, which the application server I am using rejects) to send a POST request where I am also sending a file ("Send a File With the Request") Is there a way to use variable substitution in the file? I guess not, but perhaps I am m

Re: Report

2007-05-10 Thread Ivan Rancati
you could try the Ant tasks and the xsl transformation files in the "extras" directory (instructions are in JMeter Ant Task.html) -- View this message in context: http://www.nabble.com/Report-tf3719939.html#a10409876 Sent from the JMeter - User mailing list archive at Nabble.com.

Re: can't find BeanShellSampler.bshrc

2007-05-09 Thread Ivan Rancati
thanks for the clarification. In general, I think it's good that the current directory is the one where the .jmx file lives; in this case, since the .bshrc file is specified in jmeter.properties as opposite to a given test plan, it might be more intuitive if its location was a shared one (i.e. j

can't find BeanShellSampler.bshrc

2007-05-08 Thread Ivan Rancati
I am playing around with BeanShell and I can't figure why I get a FileNotFoundException every time I open or run a test plan which has a BeanShellScript I'm using jmeter 2.2 with sun jdk 1.5.0_10 on Linux (Kubuntu) This is what I see in jmeter.log (debug level logging) 2007/05/08 13:16:00 WARN

Re: XPath Extractor Issue

2007-05-08 Thread Ivan Rancati
Shawn Heeley wrote: > > Hi folks, > > > Inside the XPath Extractor, I have the following: > //soapenv:Envelope//soapenv:Body//getChallengeReturn//challenge/* w/ a > default value of not_found > > > Not sure, I have used XPath only once, but at least on Linux JMeter was happy with sing

Re: Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

2007-05-07 Thread Ivan Rancati
Kumar-3 wrote: > > > Thanks Ivan ..but any workaround solution... > > I have tried the nxserver / nxclient combination to run remote X apps (including Jmeter) and for me it worked relatively well. You can download the free versions here http://www.nomachine.com/ http://www.nomachine.com/

Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable

2007-05-07 Thread Ivan Rancati
Kumar-3 wrote: > > Hi All, > > I am getting this error... > > Whats the solution for this..I am trying to run jmeter from my local > machine in the remote server by using putty > afaik that cannot work, since putty is a text-only terminal emulator. -- View this message in context: h

FTP Request hangs

2007-04-17 Thread Ivan Rancati
I have a test plan where I need to validate a ftp download url, so I have added an ftp sampler. The url I extract from a previous response is correct, but JMeter just hangs there; the file size is about 270k, and downloading from another client (i.e. Firefox) works properly. Environment is JMeter

Re: help with regard to build test for soap/webservices

2007-04-11 Thread Ivan Rancati
I use soapUI to create a basic request from the wsdl, then enhance if needed (i.e. by changing values with variables where appropriate) and paste in JMeter. http://soapui.org/ -- View this message in context: http://www.nabble.com/help-with-regard-to-build-test-for-soap-webservices-tf3557501.

Re: Jmeter tests frozen...

2007-01-31 Thread Ivan Rancati
hi Mike, do you have listeners such as "View results in Tree" in your test plan? That might slow down JMeter or cause it to run out of memory. You can try to display only errors in that listener, or even disable it altogether Without more details about your test plan, I guess the two other trou

Re: Help Needed...

2007-01-18 Thread Ivan Rancati
I think that each query should have its own JDBC Request sampler. Also, imho, having 1 query it makes writing the test plan and the various response assertions much easier. http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html Sharath Kumar wrote: > > Hi... > I need your help

Re: Matching one of several strings in Response Assertion

2007-01-16 Thread Ivan Rancati
JMeter does not limit data lengths or variable content, but of course Java and memory limits will eventually have an effect... I suggest you use the Save Responses Post-Processor to check that the content really is as you expect. You can check your RE using: http://jakarta.apache.org/oro/demo

Re: Latest linux version of Jmeter

2007-01-16 Thread Ivan Rancati
a) are you running in a machine with X? - please provide some more information on this I am not clear with this line. b) Perhaps you don't intend to run the jmeter UI? try ./jmeter -? Getting same errors # ./jmeter java.awt.HeadlessException: No X11 DISPLAY variable was set, but this progr

Re: Matching one of several strings in Response Assertion

2007-01-12 Thread Ivan Rancati
see if it makes a difference sebb-2 wrote: > > 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

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: 2 jmeter server instances on the same server

2006-12-13 Thread Ivan Rancati
One other option is to use virtualization For example http://openvz.org/ It might take a while to setup but then you would have multiple virtual environments per physical box. One added advantage is that software incompatibilities become less relevant. socio_pal wrote: > > Hi: > I need to ru

Re: [newbie] A couple of questions

2006-12-01 Thread Ivan Rancati
hi Francesco, I think that the regular expression parser needs the expression in square brackets. Also, I think that * should be .* if you want "any number of characters" Can you try with [GetPayment.*|Workflow.*] I find this site useful as a regex reference http://www.regular-expressions.info

Re: Issue with jmeter relote testing on Red Hat AS4

2006-11-10 Thread Ivan Rancati
Bruno Cosnefroy wrote: > > Hi, > > I have jmeter (client) installed on my desktop and jmeter-server > installed on a Red Hat AS3 server. > > I can use remote testing without problem. > > Now, I would like to install the jmeter-server on a Red Hat AS4. > > I have the same configuration, same

Re: Code Reuse

2006-08-02 Thread Ivan Rancati
I was wrong: I had the problem below with 2.1.1, but I just tried with 2.2 and variable substitution works correctly. Apologies for the noise -- View this message in context: http://www.nabble.com/Code-Reuse-tf2035779.html#a5617584 Sent from the JMeter - User forum at Nabble.com. -

Re: Code Reuse

2006-08-02 Thread Ivan Rancati
I think the include controller works pretty well, but I haven't managed to use variables in it if the variable definition is in the "main" test plan. Example: Thread Group User Defined Variables color=green WebService (SOAP) request in this request, ${color} will be expanded to "g

Re: First-time user: Need help with JMeter and Strut

2006-07-27 Thread Ivan Rancati
I stand corrected. I forgot the 2.1.2 changes. -- View this message in context: http://www.nabble.com/First-time-user%3A-Need-help-with-JMeter-and-Strut-tf2008527.html#a5518774 Sent from the JMeter - User forum at Nabble.com.

Re: First-time user: Need help with JMeter and Strut

2006-07-27 Thread Ivan Rancati
As far as I know, HTTP request can only do GET and POST. So, if you can drive your Strut application from an url, such as http://myapp:8080?name=joe&surname=doe&color=green.. then you can use HTTP request to send the GET/POST parameter/value pairs. If you need to completely drive the UI of a web

"Missing content type" with 2.2 and webservice sampler

2006-06-21 Thread Ivan Rancati
I have found this odd problem, perhaps somebody can suggest me a workaround Simplified test plan that yet reproduces the problem looks like this Thread Group User defined variables User Parameters JDBC Connection Configuration HTTP Authorization manager Simple Controller J

Re: Getting java.io.IOException

2006-04-26 Thread Ivan Rancati
Actually, I don't think that the problem is the server closing the connection, but JMeter that occasionally times out, then sends the same request twice. The problem for me is that it's not easy to create a simple reprocase I could attach to a bug, without distributing the whole Tomcat application

URIException: IPv6reference in HTTPSampler

2006-03-21 Thread Ivan Rancati
7:51 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: updateGui1 : sample result - goto tpayurl 2006/03/21 15:47:51 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: End : updateGui1 any suggestions? -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using Jmeter with Java Server Faces (Urgent help needed)

2006-03-17 Thread Ivan Rancati
tances concurrently. It's ant based, btw hope this helps -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help with JMETER webservices(SOAP) test.

2006-02-21 Thread Ivan Rancati
help me overcome this issue? > > Regards, > Sudarshan Krishnaprasad > > > > -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SOAP data repeated across different Webservice samplers

2006-02-20 Thread Ivan Rancati
ot have > a filename, and the key that is generated for the pool is the empty > string... -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SOAP data repeated across different Webservice samplers

2006-02-15 Thread Ivan Rancati
t; improve JMeter's ability to generate higher loads. Basically, the idea was >> to send the same SOAP message as fast as possible to stress a server. >> >> thanks for filing the bug, I probably won't have time to add the enhancement >> for atleast 2-3 months. &

Re: SOAP data repeated across different Webservice samplers

2006-02-14 Thread Ivan Rancati
e I misunderstood it? thanks Ivan Re: SOAP data repeated across different Webservice samplers sebb Tue, 14 Feb 2006 03:31:08 -0800 Sounds like a bug. Please can you raise a Bugzilla issue, and attach a test-case etc? Thanks. On 14/02/06, Ivan Rancati <[EMAIL PROTECTED]> wrote: > I have

SOAP data repeated across different Webservice samplers

2006-02-14 Thread Ivan Rancati
requests, I have to close and reopen the test plan for the change to take effect. Server is running Debian Linux, and the webservice is Axis. On the client, I am running Suse 9.3, Jmeter 2.1.1 and JDK 1.5 thanks -- Ivan Rancati

Re: Connection to two databases in same test plan: possible?

2006-02-09 Thread Ivan Rancati
xplained in the documentation Ivan Ivan Rancati wrote: > I think this is not possible with the JDBC Request, but based on this > email discussion I thought I'd ask > http://marc.theaimsgroup.com/?l=jmeter-user&m=106285267110499&w=2 > ... > > If you specified two connections wi

Connection to two databases in same test plan: possible?

2006-02-08 Thread Ivan Rancati
JDBC sampling java.sql.SQLException: No pool created at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:76) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Thread.java:595) thanks -- Ivan Rancati

Re: JMeter sends the same request twice ?

2006-02-08 Thread Ivan Rancati
w the first failure >>>> Is it always the same sampler that fails? >>>> No, the failure is random, although it seems to happen more often when the application server (Tomcat) is under load and takes more time to process the requests. >>>> Have you a simpl

Re: JMeter sends the same request twice ?

2006-02-07 Thread Ivan Rancati
sers List > > To: > JMeter Users List > > > Sounds rather odd. > > What does your testplan look like? > > S. > On 06/02/06, Ivan Rancati <[EMAIL PROTECTED]> wrote: > >> I have been investigating an issue where, when running tests for long >> per

JMeter sends the same request twice ?

2006-02-06 Thread Ivan Rancati
and the .jtl file used in "Write All data to a File" in the Aggregate report writes the HTTP request name but not the URL. My environment is JMeter 2.1.1 JDK 1.5.0 SuSE 9.3 client Debian server thanks -- Ivan Rancati SharpMind QA -

jmeter.gui.tree.JMeterTreeListener: Shouldn't be here

2005-09-07 Thread Ivan Rancati
I had a tail -f jmeter.log open while moving around some elements in my test plan and I noticed this message 2005/09/07 11:36:54 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here My plan looks like this Thread group View results tree User defined variables HTTP Request De

Two HTTP simultaneous request within same thread

2005-04-15 Thread Ivan Rancati
) is completed, and both (3) and (4) wait until (2) is completed. However, there is no dependency between (3) and (4), which are issued concurrently, and this is the part that I haven't found a way to model in JMeter. All ideas/suggestions are welcome. thank you, Ivan Ra

[Fatal Error] in running WebService Soap request

2005-03-01 Thread Ivan Rancati
uot;http://schemas.xmlsoap.org/soap/envelope";> http://ac:8090/mpuserdb/services/MPUserDB";> 1 Am I missing something obvious? From a tcpdump, it appears no actual request is sent to the webserver. Following is my jmeter.log thanks in advance Ivan Rancati [Full GC 7430K->

Character encoding in jmeter-server

2004-11-03 Thread Ivan Rancati
I have a question about how http streams are encoded when using the -s (server) option I have 1 Tomcat app which is returning html data, and data for one particular request contains the German city name "Würzburg" ** In my response assertion, I have that the text must contain "Würzburg" All thi

Can response assertions process time and date?

2004-10-20 Thread Ivan Rancati
hello, I need to do some testing where access to a given Tomcat servlet is restricted on a time basis. The products look something like this product 1 - access permitted only on weekdays product 2 - access permitted only on weekends product x - access permitted only at nighttime (0-8 and 18-24) .

Re: Which is the best Perfomance Monitoring Tool for Linux?

2004-08-26 Thread Ivan Rancati
From my limited Linux experience: a) for a cmd line tool, try "top" b) Not sure of what graphical tools are included with the various Linux distribuitions. On Red Hat Fedora, I use System Monitor (gnome-system-monitor) Shankar s wrote: Hi all, We are using 'perfmon' to identify the System(CPU &

Re: Flash files

2004-08-24 Thread Ivan Rancati
One thing I tried in a similar situation (downloading .png files) was to have a size assertion. Of course I would not know if the .png file was correct, but having an approximate check on the donwloaded file size for me was good enough PS thanks to the JMeter developers for both the brilliant to

JMeter uses $ in url as special character

2004-08-17 Thread Ivan Rancati
e Tomcat logs, the request is not even sent to the servlet. Can I escape the $ sign in some way? thanks Ivan Rancati - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Client performance differences between Windows and Linux

2004-07-08 Thread Ivan Rancati
hello, I was wondering if, on equivalent hardware, there might be a difference in using JMeter from a Windows 2000 or Linux RH9 client. Does anybody have experiences to share? This is only about Java VM performance and network throughput, I don't mean to start a "Windows vs Linux" war on this mai

Related Interleave controller (was: Question about users.xml sequence)

2004-06-16 Thread Ivan Rancati
This is a (loosely) related question on Interleave controller and sequence of http requests My test plan has a Interleave Controller Http req 1 Http req 2 Http req 3 Http req 4 If I have 1 thread, the requests are rotated round-robin. If I switch to, say, 20 threads, then I will see

Beginner: Aggregate report vs. View results in Table

2004-06-03 Thread Ivan Rancati
cs, I could not find it. thanks and best regards, Ivan Rancati QA engineer - SharpMind.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]