Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

You can use the Parasoft REST API to remotely create and update virtual assets directly on the Parasoft server. This enables third-party integrations, custom programmatic interactions, and access via additional user interfaces such as Parasoft CTP.You can use the Parasoft REST API to remotely create and update virtual assets, as well as create, update, and execute test assets, directly on the Parasoft server. This enables third-party integrations, custom programmatic interactions, and access via additional user interfaces such as Parasoft CTP.You can use the Parasoft REST API to remotely create, update, and execute test assets directly on the Parasoft server. This enables third-party integrations, custom programmatic interactions, and access via additional user interfaces such as Parasoft CTP.

...

  • The SOAtest and Virtualize servers must be running.
  • "Server API Enabled" or "Service Enabled" license feature required for remote access. 
    • If you have both SOAtest and Virtualize enabled, you must have both the "Server API Enabled" and "Service Enabled" license features applied.
  • The SOAtest server must be running.
  • "Service Enabled" license feature required for remote access.
  • The Virtualize server must be running.
  • "Server API-enabled" license featured required for remote access.
Info
titleHow do I start SOAtest Server

From the cli: soatestcli -startServer
From the UI: Click the Start Server button in the SOAtest Server view.

If the Start Server button is grayed out and the red Stop Server button is enabled, this means that the server is running.

Make Sure Your License Supports SOAtest Server

Excerpt Include+
scrollEditorUrl/display/FUNCTDEV/.Licensing+vSVC2020.1
scrollEditorDisplayTitleLicensing
nopaneltrue
scrollPageId0A010204015AD7E452E11E9002B6893A

...

The REST API enables you to perform core operations, without using the desktop GUI, as well as integrate with other applications or tools that part of your Dev/Test infrastructure. You can create, update, and delete data sources, test suites, tools, environments, and so on.   You can create, update, and delete data sources, virtual assets, tools, environments, and so on.  You can create, update, and delete data sources, test suites, virtual assets, tools, environments, and so on. For details, see the API documentation by opening the following URL in a browser:

http://<host>:9080/soavirt/api api 

Your tools may be deployed on different ports.

Image Modified

Authentication and User Access Controls

If the server is connected to a CTP that has security controls configured, you will need to provide the REST API valid admin-level credentials. For details, see About Virtualize Server User Access Control for additional information.

Returning Requests in GZIP Format

...

  1. Add the build.parasoft.com Maven repository to your pom.xml:

    Code Block
    languagexml
    <repositories>
      <repository>
        <id>Parasoft</id>
        <url>http://build.parasoft.com/maven/</url>
      </repository>
    </repositories>

     

  2. Next, add the com.parasoft.api.rest.client dependencyclient dependency:

    Code Block
    languagexml
    <dependency>
      <groupId>com.parasoft.soavirt</groupId>
      <artifactId>com.parasoft.api.rest.client</artifactId>
      <version>9.10.6</version>  <!-- should match version of your SOAtest server -->
    </dependency>

    The class com.parasoft.api.rest.client.ParasoftApiRestClient enables you to connect to the Parasoft SOAtest Server and invoke various operations, such as viewing and manipulating .tst files.

...