Forum Discussion

Buschfunk's avatar
Buschfunk
Frequent Contributor
16 years ago

Dynamical mock responses

Hello,

Using SoapUI Pro 3.0.2 I have a question regarding the functionality of creating mock services.

As mentioned in the user guide, mock responses can be made dynamically using Groovy scripts. Does SoapUI Pro also provide test steps for mock responses as in the "normal" view for test cases, like DataSource, PropertyTransfer, etc.? Or do I have to code all these functionalities manually in the Groovy script, e.g. connecting to a database?

Cheers,
Robert
  • At this time, you can only program a MockResponse using pure Groovy script, although if it is within a TestCase, you can use all the various TestSteps to set up the properties and database connections.

    Since you are a Pro user, you might want to post in the Pro forum, so that you will get a quicker response in the future.

    /Nenad
    http://eviware.com