Service Virtualization

  • 1.  How to add SSL Certs for Rest Step in a Test Case ?

    Posted Feb 20, 2017 04:43 AM

    Hi ,

     

    I am on DevTest 10 and i am trying to find the "PRO" in REST step in a test case just like we have on the Web service execution step to setup the SSL certs for HTTPS communication.

     

    I have already updated the local.properties file with our credentials :

    ## Enable a client cert and password for SSL.
    ## (Used by HTTP Live Invocation Step and Raw SOAP Step Execution -
    ## also used by Web Service Step Execution if not overridden below)
    ## ssl.client.cert.path = a full path to the keystore
    ## ssl.client.cert.pass = password for the keystore (this password will be automatically encrypted when DevTest runs)
    ## ssl.client.key.pass = optional password for the key entry if using JKS keystore and key has a different password
    ## from keystore (this password is automatically encrypted when DevTest runs)
    ## ssl.client.alias = optional alias to use if the keystore has more than one certificate

     

    Verified them in WebServices Step and it works fine.

     

    But when i am running the REST STEP neither it has a PRO feature to put in the SSL certs nor it picks the certs from above property.Checked HTTPS/SSL debug too. Its blank while running REST step.

     

    What is the correct way to configure?



  • 2.  Re: How to add SSL Certs for Rest Step in a Test Case ?
    Best Answer

    Posted Feb 21, 2017 08:13 AM

    You might open a ticket with support on this one.

    There is no PRO mode for REST steps in DevTest 10, that I am aware of.

    If you are sending an HTTP GET, try using the HTTP/HTML Step and CLICK the SSL settings tab at the bottom.  This might get you around the issue until someone from support can chime in.



  • 3.  Re: How to add SSL Certs for Rest Step in a Test Case ?

    Posted Aug 15, 2017 07:22 PM

    Me also looking for the Same. Kindly let me know the solution if there is any?

     

     

    regards,


    Santhosh



  • 4.  Re: How to add SSL Certs for Rest Step in a Test Case ?

    Posted Aug 16, 2017 12:53 AM