Forum Discussion

ferlay's avatar
ferlay
Occasional Visitor
8 years ago

How to use SoapUI with keycloak authentification

Hello everybody, 

All is in the title. I want to call a wsdl but the authentification is done by keycloak and i do not find the way to pass it in soapUI. If you have a solution, thanks to provide it to me.

 

Best regards,

Mathieu

  • ajankowski's avatar
    ajankowski
    New Contributor

    Hi,

     

    I experience the same issue using SoapUI Open Source. Can anyone point if this can be simply handled via Test Step with proper HTTP Request ? So far I have failed with this approach. Or is there any other way to solve this ?

     

    Best regards,

    Adam

  • ajankowski's avatar
    ajankowski
    New Contributor

    Hi,

     

    Just to inform.

    I simply solved the issue using request to get the token, then using Groovy Script to parse the response (get token type and access token) and finally to set custom header with proper data for each applicable request.

     

    Best regards,

    Adam Jankowski