Forum Discussion

santoshinig's avatar
santoshinig
Occasional Contributor
16 years ago

testing a business process

Assume that there is a business process like below:

operation 1 of service 1 running on endpoint 1 returns a value "x"

"x" has to be sent to operation 10 of service 4 running on endpoint 2

etc.

How is such a thing automated? Can someone provide a high-level groovy example to do that?

Also, is using BPEL a must when a business process involves serveral processes? If yes, does SOAP UI support BPEL (not just invoking a WSDL manually running on BPEL but retrieving the flow).
  • Hello,

    The way you would go about doing this in soapUI is by creating a TestCase in a TestSuite, and adding a few TestSteps. The first TestStep would be a SOAP Request to operation 1 of service 1 on endpoint 1.
    You may optionally add some assertions to the response of this request, asserting things like SLA or content.

    The next TestStep should be a Property Transfer step which would transfer the value "x" from the previous request into the next one.

    Lastly, the third TestStep would be a request to operation 10 of service 4, running on endpoint 2. Because of the previous Property Transfer, it will contain the value "x". As before you can optionally add assertions to the response of this request.

    You do not need to involve any Groovy or BPEL for this.

    Regards,
    Dain
    eviware.com
  • santoshinig's avatar
    santoshinig
    Occasional Contributor
    Does SOAPUI support BPEL.

    Looks like the example shown in the site is not really for a "process" but only for a wsdl operation inside it?
  • Hi!

    what do you mean specifically by "support BPEL"? AFAIK, BPEL processes are usually made available through a WSDL interface, which you can test via soapUI. soapUI in itself does not run BPEL processes or the such.

    Can you elaborate?

    regards!

    /Ole
    eviware.com
  • santoshinig's avatar
    santoshinig
    Occasional Contributor
    ok.

    I was thinking of a .BPEL file ( tags) being parsed into a script.

    Looks like it is not a feature yet. Will try the manual way.

    Thanks.
  • ok, sorry for not supporting your requirements better..

    good luck anyhow!

    regards,

    /Ole
    eviware.com