Re: Escape special char
Benedict Dodd <[email protected]>
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <[email protected]> |
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] 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] > 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