Re: Unable to record using HTTP Proxy Server

2013-03-11 Thread rohit . soni
Hi Robin, As per your suggestion, we have already applied the same sequence to map the proxy. Please find the attachment. Still we are unable to record the test. Regards, Rohit Soni > You have to setup the proxy in your IE browser to point to your JMeter > proxy server... It will be under the

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread Adrian Speteanu
On Mon, Mar 11, 2013 at 8:07 PM, sebb wrote: > On 11 March 2013 17:56, Adrian Speteanu wrote: > > For content, if your response assertion contains: > > text1 > > text3 > > text2 > > > > on a different line each of the strings, but the placement of this > strings > > in the content is text1

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread sebb
On 11 March 2013 17:56, Adrian Speteanu wrote: > For content, if your response assertion contains: > text1 > text3 > text2 > > on a different line each of the strings, but the placement of this strings > in the content is text1...text2...text3, then the assertion will fail. > Their order mat

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread Adrian Speteanu
For content, if your response assertion contains: text1 text3 text2 on a different line each of the strings, but the placement of this strings in the content is text1...text2...text3, then the assertion will fail. Their order matters. If they're in different elements it won't matter. If your

Re: Persist JSESSIONID throughout a TestPlan

2013-03-11 Thread sebb
On 11 March 2013 11:48, Alaka P A wrote: > I have to test the webserver which has to maintain sessions. > For this purpose I need to maintain session ids in jmeter. > It has been working for ThreadGroup as I > am using HTTP Cookie Manager for every Thread Group. > But i want to use the same > JSES

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread sebb
On 11 March 2013 17:07, Adrian Speteanu wrote: > Hi, > > I choose maintainability in these cases. Whatever is easier to you to > update and maintain is good enough. > > In the case of response headers, I'd keep different elements for each > assertion, because I have no clue whether they will alway

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread Mark Miller
I recommend science. Try it in a few different ways and induce different failure scenarios (one broken, several broken) and see how things are reported to you compared to how you'd like to know about what's broken. Mark On Mon, Mar 11, 2013 at 9:33 AM, Jakob van Bethlehem wrote: > Dear users, >

Re: What is the preferred method to assert multiple headers?

2013-03-11 Thread Adrian Speteanu
Hi, I choose maintainability in these cases. Whatever is easier to you to update and maintain is good enough. In the case of response headers, I'd keep different elements for each assertion, because I have no clue whether they will always be returned in the order that I have entered them in the a

Re: Persist JSESSIONID throughout a TestPlan

2013-03-11 Thread Adrian Speteanu
This question has been asked before, but I don't remember a time it has been solved. You'll want to create a variable in one of the thread group, such as "variable_" and then all other threads will be able to reference it. Of course, you'll need to make thread groups with an equal number of thread

What is the preferred method to assert multiple headers?

2013-03-11 Thread Jakob van Bethlehem
Dear users, Currently I'm working on building some header assertions (using Response Assertion) on HTTP Requests. There is a set of 6 headers that our application must send, which I'd like to add to the Response Assertion, and I was wondering what is the preferred method to achieve this in JMet

Re: Persist JSESSIONID throughout a TestPlan

2013-03-11 Thread Niraj
You can extract JSession ID using regular expression and then add that in your next subsequent thread groups. I haven't tried this but i guess it should work. On Mon, Mar 11, 2013 at 5:18 PM, Alaka P A wrote: > I have to test the webserver which has to maintain sessions. > For this purpose I nee

Re: Unable to record using HTTP Proxy Server

2013-03-11 Thread Robin D. Wilson
You have to setup the proxy in your IE browser to point to your JMeter proxy server... It will be under the Internet Explorer Options menu, in the Connections tab, under the LAN Settings. -- Robin D. Wilson VOICE: 512-777-1861 On Mar 11, 2013, at 4:04 AM, "Rohit Soni" wrote: Hi Everyone,

Persist JSESSIONID throughout a TestPlan

2013-03-11 Thread Alaka P A
I have to test the webserver which has to maintain sessions. For this purpose I need to maintain session ids in jmeter. It has been working for ThreadGroup as I am using HTTP Cookie Manager for every Thread Group. But i want to use the same JSESSIONID across the test plan which includes severa

RE: Unable to record using HTTP Proxy Server

2013-03-11 Thread rohit . soni
Hi Lakshmi, Thanks for your reply. Can you please guide as where to insert URL path in HTTP Proxy Server as there is no field which store the URL path. Please find the attached screenshot. Thanks, Rohit Soni > Have you entered your URL path in Http proxy server > > -Original Message-

RE: Unable to record using HTTP Proxy Server

2013-03-11 Thread Lakshmi Sujatha Chekuri -ERS, HCL Tech
Have you entered your URL path in Http proxy server -Original Message- From: Rohit Soni [mailto:rohit.s...@hqcc.sahara.co.in] Sent: Monday, March 11, 2013 2:35 PM To: user@jmeter.apache.org Subject: Unable to record using HTTP Proxy Server Hi Everyone, Here are the steps we have fol

Unable to record using HTTP Proxy Server

2013-03-11 Thread Rohit Soni
Hi Everyone, Here are the steps we have followed to record a login page of our internal website ".aspx" Steps: 1) First of all we are using IE 9 and we have changed the browser http proxy settings as: Address: "localhost" and Port: "8080". 2) Added Http proxy server under workbe