HI, 
  i need an help on the regular expressio extractor
   
  i have a http request, with HTML responseData similar like this
   
      ....skl'].value='AAAAAA';document.....return false;">11111111
      ......
      ....skl'].value=BBBBBB;document.....return false;">22222222
   
  i have a user Parameter defined, i need to extract 
         AAAAA if userParameter value is 11111111
         BBBBBB if userParameter value is 22222222
   
  i tied to use regular expression extractor.but i have no idea how i can write 
the expression to extract them.
   
  thanks
FULVIO

pfrancav <[EMAIL PROTECTED]> ha scritto:
  

Hi, I made some changes in HTTPSampler2.java, but when I run my test plan,
never stop in breakpoint, seems like this class is not used, instead
HTTPSampler.java stop in all breakpoints.

Do you know what's the differences between both ?

Thanks


sebb-2-2 wrote:
> 
> On 01/02/2008, [EMAIL PROTECTED] wrote:
>> sebb wrote:
>> > On 31/01/2008, [EMAIL PROTECTED] wrote:
>> >> Hi gang! Do forgive me if this question's been answered before;
>> couldn't
>> >> find a solution.
>> >>
>> >
>> > It has, but it's been a while...
>> >
>> >> We have some HTTP servers, behind a Cisco CSS that does load balancing
>> >> depending on the client's IP. I'll be using JMeter with the Commons
>> >> HttpClient component to generate load, to test the HTTP servers. The
>> >> load balancer needs to split the load between them evenly. JMeter has
>> >> to run on a single, powerful machine running Linux. I can add all the
>> >> alias IPs or even a few net intrfaces I need to the machine running
>> >> JMeter, but how can I configure JMeter/HttpClient so that the requests
>> >> will seem, to the load balancer, to be coming from different IPs?
>> >> Perhaps using iptables?
>> >
>> > The following entry in jmeter.properties:
>> >
>> > httpclient.localaddress
>> >
>> > can be used to select between multiple local host ips. However, it is
>> > processed at startup, so you would need to use one JMeter instance per
>> > host, and of course you must use the HttpClient version of the HTTP
>> > Sampler.
>> >
>>
>> That's perfect for us. We were going to use more than one JMeter
>> instance anyway.
>>
>> > Runtime configuration of the address would need code (and GUI)
>> > changes; feel free to raise a Bugzilla enhancement request.
>> >
>>
>> I won't raise one... Will pick at the code as time permits.
>>
> 
> It's in HTTPSampler2.java in the static section. Line 177 et seq.
> Line 526 is where the connection localHost address is set up. However
> the local host name is also used elsewhere for authentication.
> 
> If you don't want to update the GUI, you could use a fixed JMeter
> variable name and use that for the local IP address when setting up a
> connection.
> 
>> >> Thanks!
>> >>
>> >>
>> >>
>>
>>
>> Thank you! Now we'll be all set to start testing on Monday :)
>>
>> ---------------------------------------------------------------------
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Send-HTTP-requests-from-different-IPs-tp15205350p15589567.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3

Reply via email to