Unwanted double quotes in CSV file
Hi, I'm converting from JMeter 2.3.1 to 2.3.3 and now I get double quotes in my CSV output: 2009/06/04 14:42:10|654|1A-01-01|/Start.do|200|OK| instead of 2009/06/04 14:42:10|654|1A-01-01|/Start.do|200|OK| 1A-01-01|/Start.do is derived from the test label (name) as: ${TC}-${GC}-01|/Start.do Because I use the pipe (|) as delimiter and quoted strings are taken literal, my post-proces for my own reporting is not working right. Is there a possibilty to turn the quotes of in e.g. jmeter.properties? Regards, Rinke
Re: Cookie Manager / View Results Tree
James Wuerflein wrote: Are there any issues with the Cookie Manager in Jmeter 2.2 ? I can run the same HTTP commands in Internet Explorer, Netscape, Firefox and it works fine, but when I try and create a script to do the same thing, it doesn't seem to work at all. I just have a single ThreadGroup, with a Simple Controller with everything underneath that. I seem to get bumped back to our Login page, and prompted to login again. Maybe you have to send along HTTP headers with information on what browser you use. Some websites block browsers not complying to certain types or versions of browsers. (You'll see the headers after recording) I do have the HTTP cookie manager there with the cookie policy set to Default and have the 'clear the cookies for each iteration' checked. Second, Why does the ViewResultsTree - View not group each thread together rather than just show you the responses sequentually as they come back? Third, Is there a way to record a script with Jmeter? Right-click Workbench and Add / Non-test elements / Http proxy server. Now you can set JMeter to be a proxy server. If you set you browser to the same proxy port all traffic will go through JMeter and JMeter will produce a nice tree of requests! See manual for more information. Thanks James __ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Katun Corporation -- www.katun.com _ -- Rinke Heida - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What browser is JMeter being recognized as?
Add a HTTP Header Manager element in your testplan. Here you can set various defaults imitating your browser. e.g. User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)d Easiest is to record a script with Capture HTTP Headers checked. This way you wil get header info with your recorded request, and put this in your HTTP Header Manager. If you allready had this option checked while recording, you probably use a browser that doesn't support framesets. Rinke Heida Nop Lists wrote: Hello, testing an application using JMeter the server has sent a response saying my browser does not support framesets. What browser does JMeter imitate (states to be)? Can this be changed? For example in tools like httptrack I can tell the tool what browser it declares itself as. Thanks Nop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help !!
Dear Poornima, It would be better to name your subject more like the problem or question you have instead of Help or Help!! Regards, Rinke Heida Poornima Lakshman wrote: Hello all, Can anyone tell me if I need to ADD HTTP Cookie Manager, do I need to add this Config Element after the first HTTP Request or anywhere in the thread. My Web Application Home Page after Login Page is made up of three frames. Alltogether has to laod to complete the Home Page. I added 4 Http Request as below... 1)Login Http Request passing the parameters 2)Left Frame path 3)Center Frame path 4)Right Frame path I added the cookie manager and header manager after the first request. Am I doing OK? Please, help me on this. Thanks, Poornima - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Difference in Jmeter 2.0.3 and Jmeter 2.1.1
Checked the functionality for replacing variabels in the name fields now on JMeter 2.1.1 Works fine now!! This problem existed in version 2.1.0 and has indeed been solved in 2.1.1 I encountered a problem with the Java Runtime version, maybe this the case also with other users. You can get errors on undefined functions. It happened that I actually used JRE 1.3 (residing under the Oracle JDeveloper directory) instead of JRE 1.4 Installed version j2re1.4.2_09 and pointed in the PATH to this particular version (and excluded the Oracle JRE version from the PATH, seemed to disturb things still, even when placed further in the PATH). Rinke Rinke Heida wrote: I think I have the same problem, reason why I didn't upgrade from JMeter 2.0.3 to 2.1.0. Looking for a solution I browsed this mailing list and in jmeter-user thread Unexpected Behaviour with TestPlan-Level User Defined Variables (17/18 aug 2005) it looked like a familiar problem was discussed and I expected this problem would be solved in 2.1.1 (regarding the answer of Mike Stover) but it apparently didn't. The way I use it in JMeter 2.0.3 is: HTTP Request Name:${TC}-${GC}-01|Inschrijven.do Where the User Parameters are: ${TC} a code for the Testplan (I have 15 different ones for one webapplication) ${GC} a code for the sampler group within a tesplan (groups being recorded with option Put Each Group in a New Sampler or otherwise logically placed together) As you can see, I replace the server in the request name with my coding and put an extra pipeline so I can easily grab the threadcode from the csv-logfile. Because we have to determine differences between two versions of the tested webapp it is easy find the corresponding requests. We will not upgrade untill this feature is working again. This i probably no help for you, but I hope some support so it will be fixed again. It would be much appreciated by me. Rinke Heida Gerry Ilagan wrote: Hi, I have been using jmeter 2.0.3 to perform load testing on a web application. On my existing script I use variables on Sampler Names to easily identify what is being executed on the View Results Tree window. I have decided to try and convert my scripts to jmeter 2.1.1. While converting I noticed that the variable name and not the actual values are being displayed. Is this feature removed in version 2.1.1 or is there another way of displaying values of variables in Sampler, Logic Controller ... name fields? Appreciate some help. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using SimpleDateFormat in CSV output format
I use it myself as well and I think I had the same problem when trying to adjust parameters in the properties file. Be sure you use the propertiesfile you are editing. We are using our own properties file situated under the project directory of our testproject. This way the properties file is still OK when changing to another version of JMeter or another PC for testing. The string we use is the ISO date: jmeter.save.saveservice.timestamp_format=/MM/dd HH:mm:ss The way we start JMeter is like (left out all switches and arguments not related to your problem): call jmeter.bat -p %JMProps% Where JMProps is the full path of our own jmeter.properties file. Used this with JMeter 2.0.1, 2.0.2 and 2.0.3 with no problems. Regards, Rinke Heida Jan Linders wrote: Hi, I'm trying to save result data in a CSV file with a timestamp like : DD/mm/dd HH:mm:ss I specified this in the jmeter.properties files like : jmeter.save.saveservice.timestamp_format=DD/mm/dd HH:mm:ss The same is specified in one of the examples However, whatever I do, I do not get the formated date/time stamp in the file. the timestamp is there but it stays in milliseconds. Who can help me out here. I'm struggling with this for weeks already, tried several version of Jmeter. Latest version i checked was 2.1.1 No luck. Thx in advance. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 10/18/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDF User manual?
We do all our testing in non-GUI mode and start all the tests throught DOS bat files. GUI mode is only used for creating and testing our testplans. BTW splitting all possible testplans in seperate JMX files and starting every test (JMX) in non-GUI mode eliminated also possible memory problems for us. Rinke Heida bugfactory anonyme wrote: Well, he IS a developper. And he wanted me to print the manual so I could find out how to start a test from the shell. I was persuaded that was not possible. (On that topic : someone should change 2.4.3 Non-GUI Mode to 2.4.3 Shell command and link to it from Distributed Testing.) I guess I just have to print those files one by one. I hoped to run a script using lp but it does not understand html. So that's a page by page printing. Thanks. From: sebb [EMAIL PROTECTED] Reply-To: JMeter Users List jmeter-user@jakarta.apache.org To: JMeter Users List jmeter-user@jakarta.apache.org Subject: Re: PDF User manual? Date: Wed, 19 Oct 2005 13:24:59 +0100 A No, there isn't one at present. The printable_docs version has 25 files in the usermanual directory. This is probably well over 100 pages in total. Most of which is only needed for _developing_ JMeter scripts... S. On 19/10/05, bugfactory anonyme [EMAIL PROTECTED] wrote: Hello. Is there any pdf version, or any other easily printable version, of the user manual? My boss would like to have a printed version, and I would not like to have to print each html page one by one. Sorry for the trivial question, but I cannot find one anywhere. Thanks in advance. _ Apprenez à lutter contre le spam ! http://go.msn.fr/10-channel/80-security/spam/default.asp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Une chance par jour de gagner un voyage au soleil avec Magic Search ! http://www.magicsearch.fr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help !
JMeter does not use IE or another browser to parse te script to. As far as I know JMeter generates e.g. the HTTP request, sends it and receives the response etc. If in GUI-mode you can see a little green square in the upper right corner while requests are being processed. As soon as the test stops this square goes back to background color (grey). Rinke Heida Poornima Lakshman wrote: Hello all, I am a new member to both JMeter User List as well as JMeter. This is my first Load Testing tool. I need to test a Web Application. Read the User Manual and can now create a basic Test Plan. I need to know if there a way in JMeter where I can monitor when actually it is running the Test Plan Scripts? That is it actually opens up the Webbrowser, pass all the parameters and run the test script. Listeners just record the results and I'm looking for some way where I actually see IE Browser opening up those pages simulating the user. Can any of you please help me regarding this? Thanks, Poornima - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Difference in Jmeter 2.0.3 and Jmeter 2.1.1
I think I have the same problem, reason why I didn't upgrade from JMeter 2.0.3 to 2.1.0. Looking for a solution I browsed this mailing list and in jmeter-user thread Unexpected Behaviour with TestPlan-Level User Defined Variables (17/18 aug 2005) it looked like a familiar problem was discussed and I expected this problem would be solved in 2.1.1 (regarding the answer of Mike Stover) but it apparently didn't. The way I use it in JMeter 2.0.3 is: HTTP Request Name:${TC}-${GC}-01|Inschrijven.do Where the User Parameters are: ${TC} a code for the Testplan (I have 15 different ones for one webapplication) ${GC} a code for the sampler group within a tesplan (groups being recorded with option Put Each Group in a New Sampler or otherwise logically placed together) As you can see, I replace the server in the request name with my coding and put an extra pipeline so I can easily grab the threadcode from the csv-logfile. Because we have to determine differences between two versions of the tested webapp it is easy find the corresponding requests. We will not upgrade untill this feature is working again. This i probably no help for you, but I hope some support so it will be fixed again. It would be much appreciated by me. Rinke Heida Gerry Ilagan wrote: Hi, I have been using jmeter 2.0.3 to perform load testing on a web application. On my existing script I use variables on Sampler Names to easily identify what is being executed on the View Results Tree window. I have decided to try and convert my scripts to jmeter 2.1.1. While converting I noticed that the variable name and not the actual values are being displayed. Is this feature removed in version 2.1.1 or is there another way of displaying values of variables in Sampler, Logic Controller ... name fields? Appreciate some help. Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to handle no response from server
Sometimes the webserver I'm testing hangsor otherwise gives no reponse back on a request from my JMeter 2.0.3 testplan. Because I'm testing 24 testplans throughout a night or a weekend it's kind of nasty when in the morning JMeter still waits for that one request to respond. I've tried the Runtime controller but this controller seems only to set the testresult to false if the response time is to long. It does not abort a request if it takes to long. Is there a way to set a kind of time-out for HTTP Requests so any request will be aborted and the next test or request can go on? Thanks, -- Rinke Heida - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to save an extracted value to file
In my JMeter 2.0.3 test I extract with the Regular Expression Extractor the version of the webapplication I'm testing from an HTTP response. Problem is I cannot see after the test is done what the value of this new parameter is. In particular I would like to save the value of this parameter to a file for use in my testreport. This way we can always see what the exact version was at the moment of testing. Anyone knows how to do this? Thanks, -- Rinke Heida - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]