parasoft jump start project query

RajeshURajeshU Posts: 14

Im creating test scripts using the java code through the parasoft jum start project and i was able to create a rest client with Input Mode as literal and pass the payload directly as a string but i need to pass the input payload from a File for which i dont see the option in the availble code.

i have the following code to set the input mode

literal.setText("payload"); // able to pass the payload as string, need the code which would
accept the payload from external file.


  • jakubiakjakubiak Posts: 696 admin

    You can use Java code to read the contents from the File and pass it as a string to the payload. Here is a link that shows some ways to do this in Java:

  • RajeshURajeshU Posts: 14
    edited September 2020

    Thanks jakubiak , I'm also not able to see the code to setup the client side SSL in Security class for both http10 and http11.

    1. The security class only has the "setHttpAuthentication" method and there is
      not option to set the ClientSideSSL through the parasoft code.

    2. Also is there a package in the project that would add the global property ->
      Global Key store through the code ?

  • jakubiakjakubiak Posts: 696 admin

    The REST API does not have the ability to set Client Side SSL options. An option for this would be to manually create a client in the SOAtest UI that has the Client Side SSL options configured, and upload that to your SOAtest server. Then when you want to create a new client from the REST API, instead of creating a new one from scratch, you create a copy of the pre-configured client and then use the REST API to set the other fields.

    Regarding global key store, you will need to configure those settings manually in the SOAtest server. The SOAtest REST API does not have an API for setting Global key store.

  • benken_parasoftbenken_parasoft Posts: 935 ✭✭✭

    As an aside, the "jump start" java project was incomplete and later removed at least a couple releases ago. A newer java client is available. See
    Connecting to the API Using the Java Client

Sign In or Register to comment.