Skip to Content
Author's profile photo Srikanth Srinivasan

SOAP UI Tool – SOAP HTTPS Client Authentication

The article focuses on ‘How to use SOAP UI test tool’ to test certificate based authentication from a local machine. This could be utilized when the consultant lacks access to the sending system to send messages from it.

Entities Involved:
  • SOAP UI Test Tool;
  • SAP PI 7.1;
Key Words & Extensions:
  • .crt/.cer (X.509 certificate extensions), .p12 (Private Key with Cert from PI Key store)
  • Understanding of SSL connectivity;
  • Configuration of we service & WSDL generation is already completed;
  • Private Key enabled certificate loaded into sending party’s key store & linked to your scenario;
  • Private Key is shared with PI consultant;
  • Public Key enabled certificate shared with PI consultant;
  • Downloaded & Installed SOAP UI test tool;

There are 2 steps in implementing this scenario.
Step-1: Key pair generation & obtaining public key certificate for loading into SAP PI;
Step-2: Obtaining private key certificate for loading into SOAP UI test tool;
Execute the tasks in this SOAP Sender – HTTPS Certificate Based Authentication.

  • Obtain the generated key pairs; 
  • Open the SOAP UI test tool & load the WSDL file as shown in enclosed screen:

Import Project View Screen - 1

  • When the ‘request’ message is opened, the request & response message frames could be seen as shown in the screen below:

 Req-Res Screens - 2

  • Navigate to ‘Show Project View’ in its properties menu as shown in screen below:

 Import View Screens - 3

  • In this wizard, navigate to ‘Security Configurations->Keystores/ Certificates’ as shown in screen below.
  • Load private key certificate & provide the password of the private key file here:

 Key Store View Screen - 4

  • Now, the loaded private key has to be selected for this request message.
  • Screen enclosed below is before selecting the private key in property window for SOAP request message:

 Property View Screen - 5

  • Screen enclosed below is after selecting the private key in property window for SOAP request message:

 Key Selection Screen - 6

  • Final task is to send an empty SOAP request message as in left frame & the response received is in right frame as in screen enclosed below .

Result Screen - 7

Isn’t that very simple? Good Luck..! 🙂

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Upendra Veereypalli
      Upendra Veereypalli

      I have query , while importing certificate in key store of SOAPUI asking passwords , but our certificate doesn't contain any passwords then how to test.