Forum Discussion

krasnoludpauli's avatar
4 years ago
Solved

Generating SoapUI request

Hi,

I have no idea about XML and was asked to analyze data that I need to generate using SoapUI. Data analysis is ok but I am stuck on getting actual data 😕

I downloaded the SOAP but no idea how to use it.

This is what I was asked to do, can anyone help or direct me to an article that can help?

 

Set up a SOAP project using WSDL (I was given WSDL)
Use pollTraces request.

customer:
(I was given customer number)
As first mark please use:
(I was given a mark as well)

Data for authorisation: (use basic authorisation)
username:
(I was given username)
password:
(I was given the password)

The server will send max 100 traces at one request.
If there are more traces available, the new "mark" (timestamp) will also be returned at the end of response.
Use this mark in the next request. Please download max. 300 traces.

**********

Thank you and apols if this is not a place for such simple questions

 

  • Hi krasnoludpauli,

    As a start off point use the 'New project' function in soapui to import the .wsdl file. Make sure you specify youre importing via the .wsdl when you do it.

    I cant comment on the customer number or 'mark' as i suspect this is peculiar to the Soap requests defined in the .wsdl. im guessing customer number is an .xml tag in your soapbody parent container tag that makes up part of your payload.

    In regards to the basic auth, once youve loaded in the .wsdl, navigate to each Soap request and then click on the 'Auth' tab. Select 'Basic auth' from the dropdown and then input the username and password you have.

    After youve got all the above sorted, i suggest you come back confirming your progress to then work out how you want to setup and parameterise your tests (which generally is defined by the functional and technical requirements of your SOAP Service).

    Ta

    Rich
  • Visit SoapUi documentation.
    You may also find getting started video in youtube or in Smartbear resources.

2 Replies

  • richie's avatar
    richie
    Community Hero
    Hi krasnoludpauli,

    As a start off point use the 'New project' function in soapui to import the .wsdl file. Make sure you specify youre importing via the .wsdl when you do it.

    I cant comment on the customer number or 'mark' as i suspect this is peculiar to the Soap requests defined in the .wsdl. im guessing customer number is an .xml tag in your soapbody parent container tag that makes up part of your payload.

    In regards to the basic auth, once youve loaded in the .wsdl, navigate to each Soap request and then click on the 'Auth' tab. Select 'Basic auth' from the dropdown and then input the username and password you have.

    After youve got all the above sorted, i suggest you come back confirming your progress to then work out how you want to setup and parameterise your tests (which generally is defined by the functional and technical requirements of your SOAP Service).

    Ta

    Rich
  • nmrao's avatar
    nmrao
    Champion Level 3
    Visit SoapUi documentation.
    You may also find getting started video in youtube or in Smartbear resources.