[prev in list] [next in list] [prev in thread] [next in thread]
List: jmeter-user
Subject: Re: URL Rewriting
From: "DUBREUIL Yoann - REN ( YDubreuil () rennes ! sema ! slb ! com )"
Date: 2002-05-29 13:13:14
[Download RAW message or body]
Hi Jan VANGENECHTEN,
I maybe have something which can help you. I tried hard to see the URL
rewriting feature working. And I think I found a strange behavior (it sounds
like a bug) in that feature. Let's explain :
When I got the following configuration :
Modification Controller
|--- HTML Link Parser
|--- HTTP Request
| requested url : /PMWeb/employees.do
| parameters : [action : ShowList ]
| resulting HREF in the HTML page requested :
| <a
href="/PMWeb/employees.do?action=Delete&employee.id=47">Delete</a>
|
|--- HTTP Request
| requested url : /PMWeb/employees.do
| parameters : [action : Delete];[employee.id : .*]
the following HTTP request is generated :
/PMWeb/employees.do?action=Delete&employee.id=.*
because in the parameters of the second request, there is two parameters
matching the same HREF. I don't understand why but it seems like the first
parameter [action : Delete ] is used by the regular expression engine even
if it does contain regular expression....
Maybe I am wrong, I can't figure out what's really happening, but for my
case when I only specify one paramter, it works : [employee.id = .*]. But
then, there is a problem, when there are more than one HREF matching the [
employee.id : .* ], you can't select the one you want.You can eventually put
the second HTTP Request in a loop controller to request all the HREF
matching, but no more !!!!!!
If you got this problem, maybe you can try to make a special page in your
web site which return a url with just one parameter to avoid the problem.
Hope it was useful.
Yoann.
--
To unsubscribe, e-mail: <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic