Re: Jmeter for locally hosted applications

2011-07-11 Thread Felix Frank
On 07/11/2011 01:53 AM, Zubair Aslam wrote: http://localhost:8080/myapp/main.html Response code: Non HTTP response code: java.net.UnknownHostException Response message: Non HTTP response message: 127.0.0.1/myapp/main.html Huh, strange. Have you tried using 127.0.0.1:8080 instead? You

Re: I cannot open Test plans

2011-07-11 Thread JMeter_newbie21
Hi, I am using JMeter 2.4 and java version 1.6.0_23. I have 46 threads; each thread for a different test user, each thread has approximately 10 controllers (after excluding the gifs, jpgs e.t.c) I'm only interested in the aspx each controller has HTTP Header Manager. I cannot upload the test

Re: I cannot open Test plans

2011-07-11 Thread Bruce Ide
Ah, there was a problem with very old tests on newer versions of jmeter. I thought that might be what was happening. It sounds like something is corrupting the test's XML. Either that or possibly there's a missing plugin or something. Is this happening on different systems? Or is something other

Re: I cannot open Test plans

2011-07-11 Thread Felix Frank
Hi, just two minor remarks: On 07/11/2011 03:15 PM, JMeter_newbie21 wrote: - controller(HTTP Request) Don't you mean Sampler? (This is potentially confusing the discussion.) - Header Manager x 10 (by this I mean controller then Header Manager) repeatedly Thread2 Is this sensible? What do

Re: I cannot open Test plans

2011-07-11 Thread JMeter_newbie21
Hi guys, @ Bruce Thanks for the update - I believe there's something corrupting the JMX file as I had 3 backups and I cannot open any of the JMX files. I'm the only one using JMeter here so I can't really test it on another machine. To record; I added a thread and http proxy server in the

Implementing If Logic

2011-07-11 Thread Selvam T, Palani
Hi All, User session is locked once each user is processed. I want to implement like below: 1. See the response of 3rd URL 2. If it goes to unlock, execute set of requests for unlock How can I do this..? Thanks Regards, Palani Selvam

Re: Implementing If Logic

2011-07-11 Thread Bruce Ide
Identify the part of the html response you're interested in and use the XPath extractor to extract it to a variable: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#XPath_Extractor And then test the variable with an if controller and execute the appropriate code depending on

Re: I cannot open Test plans

2011-07-11 Thread JMeter_newbie21
This is the first time I'm editing the jmx file; and only because someone suggested deleting the Header Manager, trying to delete them all now. Tbh it's not about recording again; this is the second time it's happened and I've lost days work. After the first time I decided to make copies just

Looping through all output of a RegExp extractor until a condition is met

2011-07-11 Thread Richard Gaywood
Hi list! I have a Jmeter script with a three-part process on an airline search API: 1. search for flights 2. choose a flight at random and attempt to confirm the costing (each flight has a unique reference number extracted from the search results via a regexp) 3. if the costing

Re: I cannot open Test plans

2011-07-11 Thread Bruce Ide
Just do it in jmeter. Click on the header manager in the test plan and then hit delete. Never try to edit those things manually. It's way too easy to shoot yourself in the foot when you edit XML manually. I don't think the header managers are the problem. The recording controller adds one to each

Re: Looping through all output of a RegExp extractor until a condition is met

2011-07-11 Thread Bruce Ide
Use a while controller. Inside the while controller, use a BSF sampler to manually set a variable to look at a flight. If it succeeds, use another BSF sampler to set your loop exit test variable to false. If you exhaust all flights without a success, set your loop exit test variable to false. --

Jmeter IterationListener: Does it have an iterationEnd event?

2011-07-11 Thread Bruce Ide
I thought I saw that IterationListener had an iterationEnd event added at some point but I'm not seeing it in the checkout of the 2.4 source I have. Was that added in a later version? -- Bruce Ide flyingrhenqu...@gmail.com

Is There a Defined Variable Function in Jmeter?

2011-07-11 Thread Bruce Ide
Hey All, I sometimes have to check to see if a variable is defined, and writing an if sampler with '${variable}' == ('$' + '{variable}') is kind of nasty. Is there a function to test if a variable is defined? If no one's written one yet, it's a good chance for me to look into how to write

Re: I cannot open Test plans

2011-07-11 Thread Deepak Shetty
Hi try renaming the file to .xml and load it in IE/FF. if there are XML errors then you should get to see it and it should be fairly simple to fix. If the above isnt an issue, then are you using some plugins? See if you can share a version of your test plan , otherwise we are just guessing.

Re: I cannot open Test plans

2011-07-11 Thread JMeter_newbie21
Hi Deepak, No errors when I load that up -- View this message in context: http://jmeter.512774.n5.nabble.com/I-cannot-open-Test-plans-tp4565258p4575874.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: I cannot open Test plans

2011-07-11 Thread Deepak Shetty
hi if you cannot share the problematic file , theres not much more we can do. you can do a find replace for any urls and or username/password regards deepak On Mon, Jul 11, 2011 at 10:28 AM, JMeter_newbie21 nnenna@davy.iewrote: Hi Deepak, No errors when I load that up -- View this

Re: I cannot open Test plans

2011-07-11 Thread JMeter_newbie21
Hi I have edited the urls; the file is very large so I cannot upload or post all of it. ?xml version=1.0 encoding=UTF-8? jmeterTestPlan version=1.2 properties=2.1 hashTree TestPlan guiclass=TestPlanGui testclass=TestPlan testname=Test Plan enabled=true stringProp

Re: I cannot open Test plans

2011-07-11 Thread Deepak Shetty
Hi i dont think this is complete - since you are missing tags. Upload the file to any downloadable place and provide a link regards deepak On Mon, Jul 11, 2011 at 10:55 AM, JMeter_newbie21 nnenna@davy.iewrote: Hi I have edited the urls; the file is very large so I cannot upload or post

Re: Jmeter IterationListener: Does it have an iterationEnd event?

2011-07-11 Thread apc
Maybe you mean ThreadListener? - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/Jmeter-IterationListener-Does-it-have-an-iterationEnd-event-tp4575793p4576028.html Sent from the JMeter - User mailing list archive at Nabble.com.

Re: Is There a Defined Variable Function in Jmeter?

2011-07-11 Thread apc
Hi, Bruce, Maybe you want to join JP@GC team and write custom functions for popular plugins set? - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/Is-There-a-Defined-Variable-Function-in-Jmeter-tp4575799p4576038.html Sent from the

Re: Looping through all output of a RegExp extractor until a condition is met

2011-07-11 Thread Deepak Shetty
Hi it isnt necessary to use the foreach controller to loop through regex(though it is the easiest). You can use variableName_matchNr to find out the total number of matches , and you can use the Counter element to increment a variable . So ThreadGroup +HttpSampler ++Regex Extractor (variableName =

Re: Jmeter for locally hosted applications

2011-07-11 Thread Zubair Aslam
i have tried this but no success plus what you mean by Also, make sure your host file contains such an entry: 127.0.0.1 localhost On Mon, Jul 11, 2011 at 12:58 PM, Felix Frank f...@mpexnet.de wrote: On 07/11/2011 01:53 AM, Zubair Aslam wrote: http://localhost:8080/myapp/main.html

Invitation to connect on LinkedIn

2011-07-11 Thread Saravanan
LinkedIn Bruce, I'd like to add you to my professional network on LinkedIn. - Saravanan Saravanan Subramaniyan Software Test Engineer at Auromine Solutions Pvt.Ltd Chennai Area, India Confirm that you know Saravanan Subramaniyan