Forum Discussion

sadia's avatar
sadia
Occasional Contributor
15 years ago

load test not run groovy script

hi,

i am new learner of this platform. I have following problem:

i write a simple script (as a test setp, part of test case), when i perform load test of this testcase, this scirpt do not run? but when i test script in script window, its run. when i test the test case (functional test) it runs and display correct results.

kindly, advise me.

regards

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    How do you know it does not run? What output are you expecting? Can you attach screenshot of LoadTest window after running the LoadTest?

    regards!

    /Ole
    eviware.com
  • sadia's avatar
    sadia
    Occasional Contributor
    hi,
          i did not receive any reply from you regarding my problem. is any thing wrong?

    regards
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    By default the Groovy log is disabled when running loadtests, so if you expect your script to print some output to the Groovy log and it isn't, you may need to change this setting in the soapUI Preferences (under "UI Settings" > "Do not disable Groovy Log", make sure it is checked). Hope this helps!

    Regards,
    Dain
    eviware.com