Import Postman Collections to SOAtest

Thomas MooreThomas Moore Posts: 77 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: 214 ✭✭✭
    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: 5

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

  • Ireneusz SzmigielIreneusz Szmigiel Posts: 214 ✭✭✭

    @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: 5

    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: 901 ✭✭✭

    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: 5

    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: 77 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 :)

  • clagosuclagosu Posts: 4

    Hello,
    Thank you for the project. But I have the same problem as ctyler_1.
    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.

    I am unable to convert my postman collection even if I change it's name.

    What I am doing wrong?

  • jko12jko12 Posts: 1

    Hello everyone, Does anyone have the following problem when executing the Jar?

  • jakubiakjakubiak Posts: 684 admin

    Please see the reply from @Thomas Moore above - your server probably has a .tst file with the same name. So try using a different name, or delete the existing .tst file on the server.

  • Thomas MooreThomas Moore Posts: 77 admin

    Hi All,

    I see there are several folks asking similar questions, so I wanted to make a post here to help clarify. After speaking with some of the posters here and doing more internal testing on my side, I've found some inconsistencies with the project (and postman's collections) that will cause the aforementioned error to occur in more circumstances than it should. In light of this, I have been working on a more powerful but lightweight version of the converter that will be easier to deploy and debug if needed.

    Please stay tuned for updates on this in the near future!

Sign In or Register to comment.