Import Postman Collections to SOAtest

Thomas MooreThomas Moore Posts: 75 admin

Hi Everyone!

I am pleased to inform you that we have created a tool that will allow users to convert Postman Collections for use in SOAtest. This tool is to be used to move much of the information contained in the Postman tool to be used in SOAtest.

Using this, you will be able to bring over connection information (URL), headers, most payloads, and basic authentication.

This is a great way to enable testers to accelerate adoption of SOAtest, as well as allow users to port over existing testing environments that are already set up in Postman.

If you are interested, check it out at https://github.com/parasoft/postman-soatest

Comments

  • zizizizi Posts: 2

    Can i convert soatest project to postman collections?

  • Ireneusz SzmigielIreneusz Szmigiel Posts: 207 ✭✭
    edited June 2018

    @zizi
    not with postman-soatest project.
    There is no support for SOAtest to postman conversion.

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

  • ctyler_1ctyler_1 Posts: 3

    I cannot find the -jar PostmanImporter.jar after the clone

  • Ireneusz SzmigielIreneusz Szmigiel Posts: 207 ✭✭

    @ctyler_1
    You have to import it into Eclipse and build/pack into jar, according to documentation:
    "The tool should be packaged into a jar to be run, or run the Importer.java file directly through eclipse. The PostmanImporter folder can be imported directly into Eclipse as a java project."

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

  • ctyler_1ctyler_1 Posts: 3

    Thanks - Ireneusz Szmigiel - that is what I was thinking but thought I would ask people before spinning my wheels after looking at all of the documentation

  • benken_parasoftbenken_parasoft Posts: 775 ✭✭✭

    The "postman-soatest" source repository needs to be updated:

    • A release should be performed so that anyone can simply download the jar without having to build it first.
    • It should be be easily built from command line, like from either Maven and/or Gradle.
    • Dependencies should be managed properly so that jars are referenced externally instead of living directly with the sources. Maven and Gradle both have ways of doing this.
  • ctyler_1ctyler_1 Posts: 3

    Hello
    So I created the jar file and named it PostmanImporter and ran the below cmd with the following errors
    Just to be clear - c to dir run java cmd with jar and where the collection is dir and license server info -
    That means it looks at the collection and then creates a tst file somewhere?

    C:\Users\aa73135\Desktop\Kafka_TST>java -jar PostmanImporter.jar Dev_Portal_Demo_APIspostman_collection.json http://QTDENVMPC031:2002
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    A .tst file with that name already exists. Please remove/rename it and try again.

  • Thomas MooreThomas Moore Posts: 75 admin

    Hi ctyler_1,

    From the looks of the error, a .tst file already exists with the same name of the Postman collection you are trying to import. If you remove/rename the existing .tst file, it should create a new one in its stead. I purposefully did not make the importer overwrite existing .tst files in case it got rid of important information that you need.

    If you have other questions about the importer, feel free to direct message me through the forums here and I can reach out to you to go over them :)

Sign In or Register to comment.