Forum Discussion

alexisrl733's avatar
alexisrl733
Occasional Contributor
8 years ago

soap ui groovy debug

Hello Community,

 

I need a way to debug soap ui groovy scripts, I've heard of plugins for IntelliJ, Eclipse, NetBeans but also heard they're deprecated, is that true? If not, let me know and how to use it.

 

Thanks,

A.

  • 1 if you want to debug the groovy script inside, like add one groovy script as test step.

    Answer: you can add log.info to groovy script and then check output in log

     

    2 if you want to debug one function which is developed by groovy, it means pure groovy codes, like read the strings from text file

    Answer: you can create a groovy project in intellij and Eclipse to debug it. 

  • nmrao's avatar
    nmrao
    Champion Level 3
    Are you scripts in soapui project itself in the form of Groovy Script? Then, it is not possible to debug within SoapUI Open Source edition.

    I think pro software has that feature.
  • 1 if you want to debug the groovy script inside, like add one groovy script as test step.

    Answer: you can add log.info to groovy script and then check output in log

     

    2 if you want to debug one function which is developed by groovy, it means pure groovy codes, like read the strings from text file

    Answer: you can create a groovy project in intellij and Eclipse to debug it. 

    • alexisrl733's avatar
      alexisrl733
      Occasional Contributor

      Thank you so much wujianyy for your answer, in my case I have a mix of variant 1 and 2, that's why I was looking for a solution (non Pro version, of course). I think I'd separate the soapui logic from the groovy script in order to debug the latter one.