Forum Discussion
AshishJuyal
8 years agoNew Contributor
Hi, I am trying to write test script for below scenario in SoapUI Pro 5.1.2 using groovy script. Scenario: 1.Login to server through putty. 2.Provide username and password. 3.give command (ssh 005eisst@msgt.eeaid.eeinit.cio.uk) 4.give command (cd path) 5.paste a file from desktop to this path. I was thinking to use ChannelSftp class as it already has put(InputStream src, String dst) inbuilt method to move file from source to destination but i am not able to give command (ssh 005eisst@msgt.eeaid.eeinit.cio.uk) using this class. I also tried using ChannelExec class but even then i was not able to execute above scenario. Can someone please provide any solution, how to write script for this scenario. Thanks, Ashish
- nmrao8 years agoChampion Level 3Please see if the below link is useful:
https://github.com/aestasit/sshoogr