The browser is not sending in a name/value pair post. There is an ActiveX object
created by javascript that sends in post method but just the data. I think it uses
xml http. I'm discovering this as I go. A sample javascript to invoke this may look
like
var objHTTP = new
ActiveXObject("Microsoft.XMLHTTP");objHTTP.Open('POST','servletname',false);
objHTTP.setRequestHeader("Content-type","text/plain;
charset=UTF-8");objHTTP.Send("148/GetTableEntryList/8/");
Since I think it's using xml http, looks like I have to write a new sampler. But the
soap-xml request looks like something I can use or build off of.
Peter Lin <[EMAIL PROTECTED]> wrote:
to summarize, the browser is sending the post data. So is that text a
name/value pair? now I am confused. if it's sent by the browser, is
there some activeX or applet sending the data?
in a normal is it even possible to send just
"148/GetTableEntryList/8/" without a parameter name? I didn't think
it was possible.
if it's a normal name/value pair, you should be able to access it with
the normal request parameter objects. if not, I'm totally lost as to
exactly what you're trying to achieve.
peter
On Wed, 28 Jul 2004 12:10:49 -0700 (PDT), Remedy QA wrote:
> Actually, the request is sent by the browser in UTF-8. The target application will
> also return in UTF-8.
>
> Peter Lin wrote:sounds like that isn't following the standard. I'm guessing the
>
>
> request is sent by a program and not a browser.
>
> I'm going to guess the target application uses servlet mapping and
> routing to return the correct http resource. If that is the case,
> you're probably going to have to write a new sampler and manually
> manipulate the request and request header.
>
> peter
>
> On Wed, 28 Jul 2004 11:49:32 -0700 (PDT), Remedy QA wrote:
> > What I mean is that HTTP Request sampler sends URL encoded request data but I
> > would like the option to not do that.
> > Suppose my data string is such:
> >
> > 148/GetTableEntryList/8/
> >
> > Using the HTTP Request sampler, it will URL encode it before sending to the web
> > server:
> >
> > 148%2FGetTableEntryList%2F8%2F
> >
> > I would like to send just the raw data in a post method but not in a form action
> > submit post method.
> >
> > joelsherriff wrote:
> > Could you include an example here? I'm trying to compile a list of issues
> > such as this and I'm not sure I understand what the problem is.
> >
> > J
> >
> >
> > ----- Original Message -----
> > From: "Remedy QA"
> > To: "JMeter User List"
> > Sent: Tuesday, July 27, 2004 9:05 PM
> > Subject: HTTP Request sampler other means of sending data
> >
> > > The current HTTP Request sampler sends form action type parameter/value
> > pairings. But what if I just want to send plain form post data so that on
> > the mid-tier end, the request data is read directly from the input stream
> > (socket)?
> > >
> > > Using the proxy to record such a behavior doesn't allow jmeter to send the
> > correct request data. The recording tries to break the complete data stream
> > into parameter/value pairing.
> > >
> > > Is there any workaround?
> > >
> > > Thanks,
> > > mabel
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > > Do you Yahoo!?
> > > Yahoo! Mail - 50x more storage than other providers!
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.