Jump to content
WAPT Forum
Sign in to follow this  
Guest rajeev

webservice load testing by WAPT

Recommended Posts

Guest rajeev

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.xmlsoap.org/soap/envelope/"><soap-env:Header><Interface ChannelIdentifierId="ABC XML 4 OTA DC" Version="2005A" Interface="ABC XML 4 OTA" xmlns="http://www.abcapi.com/Documentation/XML/OTA/4/2005A/"><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.opentravel.org/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

 

Share this post


Link to post
Share on other sites
Guest angela
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.

 

Share this post


Link to post
Share on other sites
Guest George

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

 

POST http://127.0.0.1/playred/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.......

Share this post


Link to post
Share on other sites

You can change a header of any particular request. Just click "HTTP Headers" button in a request properties tab and add SOAPAction header.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...