Everything after the ? is not considered part of the request. I appreciate you attempting to help me. I figured that ACT (at least in the manual) shows a query done with VBS. This is why i went this way. but no problem. Again, i appreciate the assitance.
The reason for this is because i have a .net app with uses a search form. And what i want to do is is ACT to test the user limit for how can search at one time simutaneously before the server crashes.
BTW, i aswell wrote the exact same script in JS and the results where identitcal. I don't get :?
You might want to refer back to the ACT help doc on how the Request object works. It looks like part of it is using object properties for Request that aren't actually used.
Properties of Request...
Body: Gets or sets the HTTP request body.
CodePage Gets or sets the code page for the request body.
EncodeBody: Gets or sets whether ACT automatically URL encodes the request body.
EncodeQueryAsUTF8: Gets or sets whether ACT automatically UTF-8 encodes the request's query string.
Headers: Gets the HTTP Headers collection object.
HTTPVersion: Gets or sets the HTTP version.
Path: Gets or sets the HTTP path.
ResponseBufferSize: Gets or sets the size of the buffer used to store the response body.
Verb Gets or sets the HTTP method verb.
If you are posting...
You would normally set oRequest.Path equal to "http://www.google.com/search", and then put your query data (without the ?, like you said) in the oRequest.Body property. Like:
oRequest.Body = "hl=en&q=cch&meta="
Alternatively, since you're just working with name/value pairs, you can do a GET instead, and put the entire query string in the oRequest.Path (just change your action type).
oRequest.Path = "http://www.google.com/search?hl=en&q=cch&meta=" or whatever. This should be what you'd see if you had recorded going through the same steps yourself.
If you go into the help doc, and do a search for "request object" you'll not only see the same list, but most likely some useful code examples as well.
Hope that helps.
I prefer 'maliciously mischevious'.
TDAdmin of Evil