Re: Escape special char
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Benedict,
I reviewwed the your Stackoverflow link, but I'm not sure if its the same case... If I'm not wrong, the '#' mark in a common URL is an anchor, a link to a place on the page, but in my case, I'm attacking to a Application Server with an encryption mechanism, without this, the user paramether is not sent to the application. So the #kAQ9beUNs1Iy0l9bbIIWcnP0FaBPMPlMQGDaID91%252BBC8HTjHTENgizUlcfRYgGsB5XtkQLAdM3f0F7lUIcADX2CXDi51xRy%252FWHnlaH1KtTV8<https://$hostName:$port/foobar/#kAQ9beUNs1Iy0l9bbIIWcnP0FaBPMPlMQGDaID91%252BBC8HTjHTENgizUlcfRYgGsB5XtkQLAdM3f0F7lUIcADX2CXDi51xRy%252FWHnlaH1KtTV8> part is mandatory to my benchmark tests....
With this clue I've found more info, but, I didn't search anything that could fit with my case...
Thanks!
Laura Vázquez Martín
Ibermática Andorra
Àrea de Sistemes i Comunicacions
*Tel. +376 891 342
Fax +376 891 301
*[email protected]
[cid:[email protected]]
De: Benedict Dodd [mailto:[email protected]]
Enviado el: miércoles, 05 de febrero de 2014 15:29
Para: grinder-use
Asunto: Re: [Grinder-use] Escape special char
Perhaps this is the issue? I.e. "Fragment identifiers are not sent to the server."
http://stackoverflow.com/questions/14462218/is-the-url-fragment-identifier-sent-to-the-server
Thanks, Ben
On 5 Feb 2014, at 13:59, [email protected]<mailto:[email protected]> wrote:
Hi all,
I've searched in the net, but I didn't find anything to escape a '#' char in a URL. My syntax is as follows (i have changed the hostname and the port number to avoid branding ads)
request2 = HTTPRequest(url="https://$hostName:$port/foobar/#kAQ9beUNs1Iy0l9bbIIWcnP0FaBPMPlMQGDaID91%252BBC8HTjHTENgizUlcfRYgGsB5XtkQLAdM3f0F7lUIcADX2CXDi51xRy%252FWHnlaH1KtTV8")
The problem is the '#', is not read by The Grinder. So the logs shows this:
https://$hostName:$port/foobar/ -> 200 OK, 4444 bytes
You can see the last part of the URL is not being processed, I think because the '#' is not escaped of the string.
How can I do this?
Thanks!
Laura
P Abans d'imprimir aquest correu electrònic penseu bé si és necessari fer-ho: el medi ambient és cosa de tots.
________________________________
Aquest missatge i els seus arxius adjunts s'adrecen exclusivament al seu destinatari. En cas que rebi aquest missatge per error o per qualsevol altre motiu, l'informem que llegir-lo, copiar-lo i utilitzar-lo està prohibit. Li agrairíem alhora que ens ho comuniqués immediatament per correu electrònic o per telèfon al + 376 873 500 i que procedís a destruir-lo. L'informem que el correu electrònic i les comunicacions a través d'Internet no permeten garantir-ne la confidencialitat, així com la integritat o la correcta recepció. L'emissor no assumeix cap responsabilitat per aquestes circumstàncies o per qualsevol canvi en el contingut d'aquest missatge després d'haver estat enviat. Si no vol rebre més correus de part nostra, notifiqui'ns-ho, si us plau.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________
grinder-use mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/grinder-use
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use
image001.gif
(image/gif, 2.3 KB) - not displayed