Ask a Question

Can Rhino Javascript execute an external program?

SOLVED
wiiNinja
New Contributor

Can Rhino Javascript execute an external program?

I am working with a ReadyAPI project that has already been configured to use Rhino Javascript and not Groovy. I would like to use putty/plink in a test step to exercise a task in a remote machine. I found that this is possible using Groovy, but through lots searches, I was not able to find an equivalent when using Javascript. (1) Does anyone know if this is possible using Javascript? (2) Is it possible to use both Groovy and Javascript in the same ReadyAPI project? Thanks in advance for any information.

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: Can Rhino Javascript execute an external program?

Never used javascript for my self in the tool.

You can check the below link to see if that is helpful
https://www.example-code.com/nodejs/scp_upload_to_dir.asp

As per my understanding use of both javascipt and groovy not possible in the tool at the same time. Can only use one at a time.



Regards,
Rao.

View solution in original post

1 REPLY 1
nmrao
Community Hero

Re: Can Rhino Javascript execute an external program?

Never used javascript for my self in the tool.

You can check the below link to see if that is helpful
https://www.example-code.com/nodejs/scp_upload_to_dir.asp

As per my understanding use of both javascipt and groovy not possible in the tool at the same time. Can only use one at a time.



Regards,
Rao.

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: