Forum Discussion

Raju's avatar
Raju
New Contributor
9 years ago

Cannot edit the groovy script after executing a test case?

Hi All,

 

I have test case as follows

1. Data Sink

1. Post a request

2. Groovy script -- to get the response variable 

3. Data loop

 

After running the test case, I cannot edit the groovy script?

 

Can you share some light on this issue.  

 

Many Thanks

 

 

7 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Raju,

     

    Could you please clarify what you mean by "I cannot edit the groovy script"?

     

    • Raju's avatar
      Raju
      New Contributor

      After running the test case, when I try to make changes to the groovy script, I cannot type or make changes. 

       

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        May be you want to provide more info such as:
        1. how frequent the issue is reproducible
        2. any of your colleague computers if applicable
        3. environment details
        4. ready api version
        5. is it only in the specific project or applicable for any project?
  • What are the contents of your script since if the loop goes in infinite loop then Ready API will hang or memory issues that could be the reason, did you add memory settings?
    Download nightly build 64 bit and add these settings,

    https://support.smartbear.com/downloads/readyapi/nightly-builds/

    In your Ready API installation folder, in the Contents directory, please find the vmoptions file and open it in a text editor.
    Add these lines to the file:
    Edit the vmoptions file in Ready API Pro installation folder\bin folder for windows and for Mac Applications/Ready-API-Home.app/Contents/ to accommodate following changes,
    Set Xms128m and -Xmx to 4000 if your ram is 4GB or 8000 if its 8GB
    -XX:MaxPermSize=128m
    -XX:MinHeapFreeRatio=40
    -XX:MaxHeapFreeRatio=70
    -Dsoapui.jxbrowser.disable=true
    -Dtest.history.disabled=true