Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 2.7 KB

README.md

File metadata and controls

61 lines (45 loc) · 2.7 KB

PyPi downloads Total downloads Latest Version tests

Robot-Framework-SOAP-Library

SOAP Library for Robot Framework

Compatibility

  • Python 3.7 +
  • Zeep 4.2.1 +

Introduction

The SoapLibrary was created for those who want to use the Robot Framework as if they were using SoapUI, just send the request XML and get the response XML.

alt text

alt text

Instalation

For the first time installation:

pip install robotframework-soaplibrary

Or you can upgrade with:

pip install --upgrade robotframework-soaplibrary

Example

    *** Settings ***
    Library           SoapLibrary
    Library           OperatingSystem

    *** Test Cases ***
    Example
        Create Soap Client    http://endpoint.com/example.asmx?wsdl
        ${response}    Call SOAP Method With XML    ${CURDIR}/request.xml
        ${text}    Get Data From XML By Tag    ${response}    tag_name
        Log    ${text}
        Save XML To File    ${response}    ${CURDIR}    response_test

Example with certificate

You can see here an example of how to use OPENSSL to access a webservice with TLS certificate. (Thanks Michael Hallik)

Keyword Documentation

You can find the keywords documentation here

Authors

Initial development was sponsored by Capgemini Engineering

  • Samuel Cabral
  • Joao Gomes

License

This project is licensed under the MIT License - see the LICENSE.md file for details.