Escape special char

<[email protected]>
Newsgroups gmane.comp.java.grinder.user
Message-ID <[email protected]>
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]
https://lists.sourceforge.net/lists/listinfo/grinder-use
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.