Forum Discussion
hooleylist
Feb 27, 2008Cirrostratus
If you have a request which generates the response you want, you should be able to configure that as the monitor send string in a custom HTTP monitor. You can use the -v flag to see the headers you're sending with curl. Then replace new lines with \r\n. Here is an example:
GET /app/xyz/AdminService.wsdl HTTP/1.1
User-Agent: curl/7.16.3 (i686-pc-cygwin) libcurl/7.16.3 OpenSSL/0.9.8g zlib/1.2.3 libssh2/0.15-CVS
Host: 10.xx.xx.xx:24092
Accept: */*
You can probably leave out the user agent header and add a connection header which tells the server to close the connection:
GET /app/xyz/AdminService.wsdl HTTP/1.1\r\nHost: 10.xx.xx.xx:24092\r\nAccept: */*\r\nConnection: close\r\n
Aaron