Search

XMLRPC

Module for testing XMLRPC WebService.

This module can be used either with frameworks or PHPBrowser. It tries to guess the framework is is attached to.

Whether framework is used it operates via standard framework modules. Otherwise sends raw HTTP requests to url via PHPBrowser.

Requirements

  • Module requires installed php_xmlrpc extension

Status

Configuration

  • url optional - the url of api

Public Properties

  • headers - array of headers going to be sent.
  • params - array of sent data
  • response - last response (string)

@since 1.1.5 @author [email protected]

Actions

haveHttpHeader

Sets HTTP header

  • param string $name
  • param string $value

seeResponseCodeIs

Checks response code.

  • param $num

seeResponseIsXMLRPC

Checks weather last response was valid XMLRPC. This is done with xmlrpc_decode function.

sendXMLRPCMethodCall

Sends a XMLRPC method call to remote XMLRPC-server.

  • param string $methodName
  • param array $parameters

 

Module reference is taken from the source code. Help us to improve documentation. Edit module reference
Let us help you take Codeception further. We offer a number of paid services that can help you and your organization get the most out of Codeception Enterprise. Software testing & test automation development and outsourcing. Request a quote for enterprise support or trainings