Forum Discussion
HTTP monitor with multiple parameters in the query string?
curl -v ""
And it works just fine. But when I put that in as my send string in the monitor, it seems to not even be leaving the LTM successfully; I never see a hit attempt in the IIS logs on my web server.
GET \"\" HTTP/1.1\r\nHOST: myserver\r\n
Has anyone sent multiple parameters in a query string from a monitor? I thought perhaps it was an encoding issue, but that doesn't seem to be it.
Thanks,
Jen
5 Replies
- Cspillane_18296
Nimbostratus
Hello,
the first thing I'd do is get a packet capture on all VLANs and ensure the monitor is being sent.
It's possible that this could be a routing issue and the packets are leaving the wrong VLAN thus never arriving at the webserver.
Chris - dubdub
Nimbostratus
Hi Chris,
I won't be able to get the network trace today (out of the office), but one thing I had tried was switching from a GET on the Default.aspx page in the monitor to a GET on a simple .html file. The monitor then worked fine, as do all the other monitors on this LTM - so I would assume traffic is leaving the box ok? I can execute the URL with the multiple parameters fine from a browser, so I know the page is answering correctly.
Thanks, Jen
- Hamish
Cirrocumulus
What happens if you remove those extra double quotes you have in the GET?
H - hoolio
Cirrostratus
As Hamish suggests, the \" are breaking this. If you're on 9.x, you can try this:
GET /test/Default.aspx?p1=a&p2=b&p3=c&p4=d HTTP/1.1\r\nHost: myserver\r\n
For 10.2+, you'll need to add another \r\n to the end:
GET /test/Default.aspx?p1=a&p2=b&p3=c&p4=d HTTP/1.1\r\nHost: myserver\r\n\r\n
Aaron - dubdub
Nimbostratus
I removed the doublequotes and added the extra carriage return, it works perfect! Thank you so much for the advice.
Thanks,
Jen
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
