Thanks Peter - I hope to check it out soon and let you know. 

Adding a textbox to the HTTP sampler instead would leverage the
'Follow-redirects' and other HTTP options that the HTTP sampler
provided. 

With regards,
Sonam Chauhan
-- 
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
 

> -----Original Message-----
> From: peter lin [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 January 2004 12:53 AM
> To: JMeter Developers List
> Subject: RE: Suggestion for enhancing 'HTTP Request' sampler
> 
> 
> hi sonam,
> 
> 
> I just updated the soap sampler to check the header manager for
content-
> type. Please give it a try and see if that works for you. You may have
to
> build from CVS or wait for the nightly.
> 
> peter lin
> 
> 
> Sonam Chauhan <[EMAIL PROTECTED]> wrote:
> Thanks a lot Peter - appreciate you looking into this issue.
> 
> With regards,
> Sonam Chauhan
> --
> Corporate Express Australia Ltd.
> Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED]
> 
> 
> > -----Original Message-----
> > From: peter lin [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 15 January 2004 10:42 AM
> > To: JMeter Developers List
> > Subject: RE: Suggestion for enhancing 'HTTP Request' sampler
> >
> >
> > I'll take a look and see if I can make that change.
> >
> > peter lin
> >
> > --- Sonam Chauhan wrote:
> > > Kenneth - Thanks for the suggestion. I don't
> > > understand it completely,
> > > but it probably does not apply to my problem because
> > > I am posting
> > > non-XML data (specifically, a MIME-format
> > > 'CommerceOne envelope').
> > >
> > > Peter- Thanks for your suggestion. I had used the
> > > HTTP header manager,
> > > but the SOAP sampler ignored the content-type
> > > setting I set there.
> > > > I used the HTTP header manager to create the
> > > special
> > > > marketparticipantid=xxx header, but could not
> > > override the
> > > > Content-type=text/xml header.
> > >
> > > I think the SOAP sampler simply hardcodes
> > > Content-type to 'text/xml'
> > > (stands to reason since it is only meant for XML).
> > >
> > > The simplest fix would be to add a textbox to the
> > > regular HTTP sampler
> > > that allows the user to simply paste in the content
> > > of the HTTP request
> > > body.
> > >
> > > With regards,
> > > Sonam Chauhan
> > > --
> > > Corporate Express Australia Ltd.
> > > Phone: +61-2-9335-0725, Fax: 9335-0753, Email:
> > > [EMAIL PROTECTED]
> > >
> > >
> > > > -----Original Message-----
> > > > From: peter lin [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, 15 January 2004 2:03 AM
> > > > To: JMeter Developers List
> > > > Subject: RE: Suggestion for enhancing 'HTTP
> > > Request' sampler
> > > >
> > > >
> > > > hi sonam,
> > > >
> > > > did you try adding a http config element to set
> > > the content-type?
> > > >
> > > > add -> config element -> http header manager.
> > > >
> > > > that might work. can you give it a try and see if
> > > that fixes it?
> > > >
> > > > peter lin
> > > >
> > > >
> > > > Sonam Chauhan wrote:
> > > > > that makes sense. but back to the task of how
> > > can the
> > > > > soap/xml-rpc sampler can be enhanced to work
> > > with
> > > > > CommerceOne.
> > > > ...
> > > > > if you can list exactly what the service needs
> > > in
> > > > > terms of encoding, content-type, content-length,
> > > post
> > > > > and so on, I can take a look.
> > > >
> > > > Hi Peter - The SOAP sampler presents a different
> > > Content-type HTTP
> > > > header which may be causing the problem.
> > > >
> > > > Here are the HTTP request headers used by the
> > > CommerceOne application:
> > > >
> > >
> > ----------------------------------------------------------
> > > > Accept=image/gif, */*
> > > > Authorization=Basic xxxxxxx==
> > > > Content-Length=11345
> > > > Content-type=application/x-www-form-urlencoded
> > > > Host=internal_server:80
> > > >
> > >
> > marketparticipantid=85fhge3ea-7832-1000-a422-0aasdasd0001
> > > > User-Agent=Mozilla/4.0 [en] (WinNT; I)
> > > >
> > >
> > ----------------------------------------------------------
> > > >
> > > > Here are the HTTP request headers used by the
> > > JMeter SOAP/XML sampler.
> > > >
> > >
> > ----------------------------------------------------------
> > > > Accept=text/html, image/gif, image/jpeg, *; q=.2,
> > > */*; q=.2
> > > > Connection=close
> > > > Content-length=6782
> > > > Content-type=text/xml
> > > > Host=internal_server
> > > >
> > >
> > marketparticipantid=85fhge3ea-7832-1000-a422-0aasdasd0001
> > > > User-Agent=Java/1.4.2_02
> > > >
> > >
> > ----------------------------------------------------------
> > > >
> > > > I used the HTTP header manager to create the
> > > special
> > > > marketparticipantid=xxx header, but could not
> > > override the
> > > > Content-type=text/xml header.
> > > >
> > > > The strange thing is that HTTP request body seemed
> > > empty when the
> > > JMeter
> > > > SOAP sampler presented it. However, this could be
> > > a glitch in my CGI
> > > > rather than with the SOAP sampler.
> > > >
> > > > With regards,
> > > > Sonam Chauhan
> > > > --
> > > > Corporate Express Australia Ltd.
> > > > Phone: +61-2-9335-0725, Fax: 9335-0753, Email:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: peter lin [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, 14 January 2004 2:54 PM
> > > > > To: JMeter Developers List
> > > > > Subject: RE: Suggestion for enhancing 'HTTP
> > > Request' sampler
> > > > >
> > > > >
> > > > > that makes sense. but back to the task of how
> > > can the
> > > > > soap/xml-rpc sampler can be enhanced to work
> > > with
> > > > > CommerceOne.
> > > > >
> > > > > What exactly does the service require? From the
> > > > > previous emails I get the impression it's not
> > > just a
> > > > > post. If it was just a post, the soap/xml-rpc
> > > sampler
> > > > > should work.
> > > > >
> > > > > if you can list exactly what the service needs
> > > in
> > > > > terms of encoding, content-type, content-length,
> > > post
> > > > > and so on, I can take a look.
> > > > >
> > > > > peter lin
> > > > >
> > > > >
> > > > > --- Sonam Chauhan wrote:
> > > > > > Hi Peter - thanks for all your inputs! Sorry
> > > man -
> > > > > > the commerceone
> > > > > > document I included in the message below isn't
> > > SOAP,
> > > > > > or even XML at all
> > > > > > - it's an older, MIME-lookalike type of format
> > > used
> > > > > > by most CommerceOne
> > > > > > Marketsites.
> > > > > >
> > > > > > I didn't mean to imply that the Webservices
> > > sampler
> > > > > > or the SOAP/XML-RPC
> > > > > > samplers should be able to handle that
> > > document -
> > > > > > they shouldn't. I was
> > > > > > pointing out that no current JMeter sampler
> > > could
> > > > > > POST that document and
> > > > > > an enhancement to the regular HTTP sampler
> > > would
> > > > > > enable that document,
> > > > > > and any other document to be posted by the
> > > regular
> > > > > > HTTP sampler.
> > > > > >
> > > > > > With regards,
> > > > > > Sonam Chauhan
> > > > > > --
> > > > > > Corporate Express Australia Ltd.
> > > > > > Phone: +61-2-9335-0725, Fax: 9335-0753, Email:
> > > > > > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! Hotjobs: Enter the "Signing Bonus"
> > > Sweepstakes
> > > > >
> > > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> > > > >
> > > > >
> > >
> > === message truncated ===
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> > http://hotjobs.sweepstakes.yahoo.com/signingbonus
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to