Giter VIP home page Giter VIP logo

soapuiextensions's Introduction

soapuiExtensions

This soapuiExtensions library allows users to have some additional functionality in SoapUI(free edition) software, like SoapUI Pro, this extension allows users to do something before, after execution of the test events.

For eg: User may want to do something before running a test case or after running a test case etc by implementing appropriate groovy script as required. Allow me to add an example here. Usually user may want to add credentials for the request step automatically, see the script samples/scripts/TestSuiteTestStepAdded.groovy

Another use case can be to log the response sample/scripts/RequestStepAfterSubmit.groovy.

How to use this library:

set SOAPUI_HOME environment variable with appropriate value.

  • copy lib/SoapUIExtListeners.jar file under $SOAPUI_HOME/bin/ext directory
  • copy samples/listeners/custom-listeners.xml file under $SOAPUI_HOME/bin/listeners directory
  • copy samples/scripts directory under $SOAPUI_HOME
  • And implement appropriate groovy script available under $SOAPUI_HOME/scripts. Refer Mappings file in order to implement respective groovy script. This mapping file is used internally, it is given here for user reference, so that he can implement his respective script with the right groovy file name.

NOTE: for windows users, you may need to check %SOAPUI_HOME%\bin\soapui.bat which actually overwrites SOAPUI_HOME, need to fix soapui.bat script if required.

If you donot wish to make any changes to %SOAPUI_HOME%\bin\soapui.bat file on windows, then you want to copy that groovy files under %SOAPUI_HOME%\bin\scripts directory instead of %SOAPUI_HOME%\scripts directory and retry. If your machine is linux then it should work if you copy groovy files under $SOAPUI_HOME/scripts directory as mentioned above.

Softwares tested with:

  • jdk 7
  • soapUI 4.5.1 (you should still be able to use in later versions)
  • groovy 1.8.9 (defult with soapui)

Dependency

  • log4j

soapuiextensions's People

Contributors

nmrao avatar

Stargazers

Keith Tremorin avatar Dmitrij avatar Omar Khalil avatar Vaibhav Jain avatar  avatar lionel delbe avatar  avatar  avatar  avatar Prajwal avatar  avatar Karol Wozniak avatar Caio Torresi avatar  avatar Dhanapathi Javvadi avatar Daniele avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar shyam kumar pasupula avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.