jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li, Charles" <Charles...@dep.state.fl.us>
Subject RE: Web Service on Jmeter 202
Date Mon, 10 Jan 2005 16:16:39 GMT
Peter,
Thanks.  I can now see the request and response data.  From the response
data, it's complaining not able to find the Request method.
There is no Request method.  The method that is available is doSingleRecord.
How do I tell Jmeter to use the doSingleRecord method? 

Request:
============================================
http://epic229.dep.state.fl.us//FdmMdws/Mdws
null
============================================

Response data:
=========== HTML ===========================
?xml version='1.0' encoding='UTF-8'?>    SOAP-ENV:Server
java.lang.NoSuchMethodException: no such method &aposRequest&apos on class
dep.fdm.mdws.__MdWebServicesStubStatelessWrapper at
dep.fdm.mdws.__MdWebServicesStubStatelessWrapper.invokeMethod(__MdWebServices
StubStatelessWrapper.java:137)  /FdmMdws/Mdws    
=========== Text ==============================
<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><SOAP-ENV:Fault><
faultcode>SOAP-ENV:Server</faultcode><faultstring>java.lang.NoSuchMethodExcep
tion: no such method &apos;Request&apos; on class
dep.fdm.mdws.__MdWebServicesStubStatelessWrapper at
dep.fdm.mdws.__MdWebServicesStubStatelessWrapper.invokeMethod(__MdWebServices
StubStatelessWrapper.java:137)</faultstring><faultactor>/FdmMdws/Mdws</faulta
ctor></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
============================================

Thanks,
Charles Li


-----Original Message-----
From: Peter Lin [mailto:woolfel@gmail.com]
Sent: Saturday, January 08, 2005 4:08 PM
To: Li, Charles
Subject: Re: Web Service on Jmeter 202


Hi charles,

thanks for responding. I've never used Oracle's webservice stack. I've
used jwsdp, axis, apache soap, weblogic, .net and TheMindElectric
glue. I'd like to figure out what is causing it, but I don't have
oracle jdeveloper or oracle app server installed.

I assume you can test the webservice in a browser. Could you try to
capture the http request and response using a HTTP sniffer.  on
jmeter's wiki there's one listed.
http://wiki.apache.org/jakarta-jmeter/NetworkSniffer

One thing i can think of is to put the <request> element inside a soap
envelope like this.


<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
<Request xmlns:ns1="http://dep.fdm.mdws/IMelissaDataWebService.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:type="ns1:dep_fdm_mdws_RequestRecord">
  <pkgAddressMailing  xsi:type="xsd:boolean">true</pkgAddressMailing>
  <pkgAddressParsed  xsi:type="xsd:boolean">false</pkgAddressParsed>
  <pkgAddressDeliveryPointValidation 
xsi:type="xsd:boolean">false</pkgAddressDeliveryPointValidation>
  <pkgAddressGeographicArea 
xsi:type="xsd:boolean">false</pkgAddressGeographicArea>
  <pkgAddressGeoCode  xsi:type="xsd:boolean">false</pkgAddressGeoCode>
  <pkgNameParsed  xsi:type="xsd:boolean">false</pkgNameParsed>
  <pkgTelephoneNumber  xsi:type="xsd:boolean">false</pkgTelephoneNumber>
  <pkgStreetDataAllRecords 
xsi:type="xsd:boolean">false</pkgStreetDataAllRecords>
  <pkgStreetDataInRangeRecordsOnly 
xsi:type="xsd:boolean">false</pkgStreetDataInRangeRecordsOnly>
  <pkgZipCodeCitiesInState 
xsi:type="xsd:boolean">false</pkgZipCodeCitiesInState>
  <pkgZipCodeZipInCity  xsi:type="xsd:boolean">false</pkgZipCodeZipInCity>
  <pkgZipCodeInformation
xsi:type="xsd:boolean">false</pkgZipCodeInformation>
  <pkgStreetDataOnAddressErrorsOnly 
xsi:type="xsd:boolean">false</pkgStreetDataOnAddressErrorsOnly>
  <timeout  xsi:type="xsd:string">100000</timeout>
  <transmissionReference
xsi:type="xsd:string">ABCD1234</transmissionReference>
  <version  xsi:type="xsd:string">0.5</version>
  <action  xsi:type="xsd:string">Request</action>
  <customerID  xsi:type="xsd:string">100039807</customerID>
  <urbanization  xsi:type="xsd:string"></urbanization>
  <address  xsi:type="xsd:string">3900 Commonwealth Blvd</address>
  <address2  xsi:type="xsd:string"></address2>
  <city  xsi:type="xsd:string"></city>
  <state  xsi:type="xsd:string">FL</state>
  <zip5  xsi:type="xsd:string">32399</zip5>
  <plus4  xsi:type="xsd:string"></plus4>
  <country  xsi:type="xsd:string"></country>
  <telephone  xsi:type="xsd:string"></telephone>
  <fullName  xsi:type="xsd:string"></fullName>
</Request>
  </soap:Body>
</soap:Envelope>


good luck.

peter




On Sat, 8 Jan 2005 15:08:40 -0500, Li, Charles
<Charles.Li@dep.state.fl.us> wrote:
> I build this Web Service using Oracle JDeveloper and deploy it on Oracle
> Application Server 904.  Has anyone have experience using Web Service on
> Oracle App Server?
> 
> Thanks,
> Charles Li
> 
> -----Original Message-----
> From:   Dana Kaufman [mailto:dkaufman@gmail.com]
> Sent:   Sat 1/8/2005 8:54 AM
> To:     JMeter Users List
> Cc:     Peter Lin
> Subject:        Re: Web Service on Jmeter 202
> Charles,
> 
> Just curious what web server you are using?  I saw similar problems
> using the free .Net Cassini web server.  The fix was to switch to IIS
> as there is a bug in Cassini that closes the connection before the
> 
> response is returned.
> 
> -Dana
> 
> On Fri, 7 Jan 2005 15:47:25 -0500, Li, Charles
> <Charles.Li@dep.state.fl.us> wrote:
> > Peter,
> > I followed your suggestions.  But when I run the load test, I see the
> sample
> > result to be:
> > ==============================
> > Load time: 0
> > HTTP response code: null
> > HTTP response message:
> >
> > HTTP response headers:
> > ==============================
> > Nothing in the request and response data.
> >
> > What can I do to make this work?
> >
> > Thanks,
> > Charles Li
> >
> >
> > -----Original Message-----
> > From: Peter Lin [mailto:woolfel@gmail.com]
> > Sent: Friday, January 07, 2005 2:41 PM
> > To: Li, Charles
> > Subject: Re: Web Service on Jmeter 202
> >
> >
> > looking at the wsdl, there is no soapAction :)
> >
> > <soap:operation soapAction="" style="rpc" />
> >
> > that's one of the differences between .NET and Java webservices. .NET
> > asmx webservices require soapAction, whereas BEA, Sun and IBM
> > webservices do not.
> >
> > I looked at the log and it looked ok. the problem is the soap message
> > itself. the message should be full Soap message with the
> > <soapEnvelope> and everything that is needed. what I normally do is
> > copy the sample message generated by the webservice and then manually
> > enter the values for the message.
> >
> > I hope that helps.
> >
> > peter
> >
> > On Fri, 7 Jan 2005 14:32:23 -0500, Li, Charles
> > <Charles.Li@dep.state.fl.us> wrote:
> > > Its a J2EE web service.
> > > I am also sending you the jmx and the log file.  If you have a chance
> > please
> > > have a look.
> > >
> > > Thanks,
> > > Charles Li
> > >
> > > -----Original Message-----
> > > From: Peter Lin [mailto:woolfel@gmail.com]
> > > Sent: Friday, January 07, 2005 2:28 PM
> > > To: Li, Charles
> > > Subject: Re: Web Service on Jmeter 202
> > >
> > > unless it's a .NET webservice, the SoapAction will be empty. You can
> > > tell by looking at the soapOperation soapAction attribute.
> > >
> > > I can take a look at the wsdl if you send it to me.
> > >
> > > peter
> > >
> > > On Fri, 7 Jan 2005 14:16:48 -0500, Li, Charles
> > > <Charles.Li@dep.state.fl.us> wrote:
> > > > I try this build, but the SOAPAction is still not populated.
> > > > Can I get it out of the WSDL?
> > > >
> > > > Help....
> > > >
> > >
> > >
> > >
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message