Contributions
how does LIST work in SOAPUI Groovy?
After clearing, when adding values to list this is not initializing/emptying the list, however, taking the previous list data. Script: def list_2 = [] list_2.clear() log.info list_2 log.info list_2.add("a1") log.info list_2.add("z2") log.info list_2.add("x3") log.info list_2.add("d4") log.info list_2 log.info list_2.sort() Output: INFO:[a1, z2] INFO:true INFO:true INFO:true INFO:true INFO:[a1, d4, x3, z2] INFO:[a1, d4, x3, z2] 2nd Time Running Groovy Step: INFO:[] INFO:true INFO:true INFO:true INFO:true INFO:[a1, d4, x3, z2] INFO:[a1, d4, x3, z2] 3rd Time: Adding one more value to list def list_2 = [] list_2.clear() log.info list_2 log.info list_2.add("a1") log.info list_2.add("z2") log.info list_2.add("x3") log.info list_2.add("d4") log.info list_2.add("a2") // adding new value log.info list_2 log.info list_2.sort() Output: INFO:[a1, z2, x3] INFO:true INFO:true INFO:true INFO:true INFO:true INFO:[a1, a2, d4, x3, z2] INFO:[a1, a2, d4, x3, z2] So here how come both sorted and unsorted list values are same???Solved2.8KViews0likes1CommentWhy I am getting javax.net.ssl.SSLException in SOAP UI Free and how to resolve this?
While making a GET method call through SOAP UI Open source I am getting the below error message, but surprisingly this is working absolutely fine in ReadyAPI. Error Message: ERROR:Exception in request: javax.net.ssl.SSLException: Received fatal alert: protocol_version ERROR:An error occurred [Received fatal alert: protocol_version], see error log for details13KViews0likes2CommentsRe: Soap UI Automation script is not running automatically until users run it Manually
Yes ... Looking for the answer..trying to understand how SOAP UI interact with the Automation editor. Thanks for explaining these all... but can you please provide some more details like the script & where exactly to call the script. See I am using this script in the gettoken --> Automation --> AutomationScript Editor window. So how to call this script externally.1.8KViews0likes0CommentsSoap UI Automation script is not running automatically until users run it Manually
Whenever access token is expired or whenever we are restarting the system, SOAP UI is not running the Automation Script to retrieve the Access Token. It is redirecting to oauth log in page and not refreshing the Access Token. If I go to the Automation Script editor and manually running it then this is working. Can you please help me to call the script automatically whenever my Token expired/invalid/blank access token is there? If you see the ReadyAPI log I am getting the error message repeatedly 3-4 times. ERROR:An error occurred [Unable to refresh expired access token.], see error log for details INFO:The access token has expired, trying to refresh it. ERROR:An error occurred [Unable to refresh expired access token.], see error log for details INFO:The access token has expired, trying to refresh it. ERROR:An error occurred [Unable to refresh expired access token.], see error log for details INFO:The access token has expired, trying to refresh it. An error occurred [Unable to refresh expired access token.], see error log for details Seems like Automation script editor not communicating with the Soap Ui directly. Code that I am using: function consent(){ document.getElementById('loginform').click(); } if (document.getElementById('login')) { document.getElementById('login').value = 'user.name@type.com'; document.getElementById('password').value = 'xxxxxx'; document.loginform.submit(); } else if (document.getElementById('loginform')){ window.setInterval(content,100); }1.9KViews0likes4Comments