Jump to content


webservice load testing by WAPT


  • Please log in to reply
3 replies to this topic

#1 Guest_rajeev_*

Guest_rajeev_*
  • Guests

Posted 16 October 2008 - 12:07 PM

Dear Anjela,

We have developed one webservice in JAVA, and that takes an XML string as input. This webservice we need to load test through WAPT.

This is very urgent and we are in trouble to proceed. If we are giving the input xml as string it gives the exception like

no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803).

We are very much thankful if any of you give us any solution for this.


Our request XML String is

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlso...ader><Interface ChannelIdentifierId="ABC XML 4 OTA DC" Version="2005A" Interface="ABC XML 4 OTA" xmlns="http://www.abcapi.co...><ComponentInfo Id="37009" User="test" Pwd="test" ComponentType="Hotel" /></Interface></soap-env:Header><soap-env:Body RequestId="200708310425065wZvZr5Ofh" Transaction="HotelAvailRQ"> <OTA_HotelAvailRQ Target="Test" Version="1.003" TimeStamp="2006-08-10T15:28:29+01:00" xmlns="http://www.opentrave...rg/OTA/2003/05" BestOnly="false" SummaryOnly="false" SortOrder="A" MaxResponses="100" > <POS> <Source> <RequestorID Type="18" ID="Partner"/> <BookingChannel Type="2" Primary="true"> <CompanyName>Some Company Name</CompanyName> </BookingChannel> </Source> </POS> <AvailRequestSegments> <AvailRequestSegment> <HotelSearchCriteria> <Criterion ImportanceType="Mandatory"> <StayDateRange Start="2008-10-15" Duration="Day" End="2008-10-16"> </StayDateRange> <RateRange RoomStayCandidateRPH="0" MinRate="10.00" MaxRate="50000.00" RateTimeUnit="Day" CurrencyCode="USD" DecimalPlaces="2"> </RateRange> <RatePlanCandidates> <RatePlanCandidate RatePlanCode="*" RPH="1"> <HotelRefs> <HotelRef HotelCode="37009" /> </HotelRefs> <MealsIncluded MealPlanCodes="*"></MealsIncluded> </RatePlanCandidate> </RatePlanCandidates> <RoomStayCandidates> <RoomStayCandidate RoomType="*" RoomTypeCode="*" Quantity="2" RPH="2" RatePlanCandidateRPH="1"> <GuestCounts IsPerRoom="true"> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> </GuestCounts> </RoomStayCandidate> </RoomStayCandidates> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <GivenName>Person A GivenName</GivenName> <Surname>Person A Surname</Surname> <NameTitle>Person A NameTit</NameTitle> </PersonName> <Telephone PhoneTechType="1" PhoneNumber="7709626425"/> <Telephone PhoneTechType="3" PhoneNumber="7709626425123"/> <Email>Person.A@email.com</Email> <Email>Person.A@email2.com</Email> <Address> <AddressLine>11545 Wells Road</AddressLine> <CityName>Alpharetta</CityName> <PostalCode>30004</PostalCode> <StateProv StateCode="GA"/> <CountryName Code="US"/> <CompanyName>Person A CompanyName</CompanyName> </Address> <CustLoyalty MembershipID="1234567" ProgramID="some programm id"/> </Customer> </Profile> </ProfileInfo> </Profiles> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </OTA_HotelAvailRQ> </soap-env:Body></soap-env:Envelope>



Thanks in Advance,
Rajeev


#2 Guest_angela_*

Guest_angela_*
  • Guests

Posted 17 October 2008 - 10:06 AM

QUOTE (rajeev @ Oct 16 2008, 07:07 PM) <{POST_SNAPBACK}>
Dear Anjela,

We have developed one webservice in JAVA, and that takes an XML string as input. This webservice we need to load test through WAPT.

This is very urgent and we are in trouble to proceed. If we are giving the input xml as string it gives the exception like

no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803).

We are very much thankful if any of you give us any solution for this.

Thanks in Advance,
Rajeev



Hello Rajeev,

Please specify in more details in what way you send this request (in a parameter or in some different way). Also, please send to us your Profile and Full log of WAPT.


#3 Guest_George_*

Guest_George_*
  • Guests

Posted 26 October 2009 - 05:56 PM

The SOAPAction Header is in the HTTP Header usually...An example:

POST http://127.0.0.1/pla.../rightsman.asmx HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 127.0.0.1
Content-Length: 5789

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schem.......

#4 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 30 October 2009 - 10:00 AM

You can change a header of any particular request. Just click "HTTP Headers" button in a request properties tab and add SOAPAction header.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users