Forum Discussion

dchilupuri's avatar
dchilupuri
Occasional Visitor
8 years ago

How can we test a cobol program using SOAP UI

We have a cobol program in place and are trying to see if we can test the program from SOAP UI environment

  • nmrao's avatar
    nmrao
    Champion Level 3
    Interesting. What are you trying to achieve? What is your use case?

    How do you usually run your programs if there is no soapui?
  • KarelHusa's avatar
    KarelHusa
    Champion Level 1

    dchilupuri,

    it depends what kind of interface does your cobol program expose. If HTTP or SOAP, then you can make a standard test case.

     

    If the only interface is startup parameters, you need to employ a Groovy Script test step. In that case you need to write a Groovy script, which executes the program and evaluates its output against expected values.

     

    Karel