Unanswered question

Using javascript how to duplicate a Folder in the shared drive

Please provide a javascript code to duplicate a Folder and all files in the shared folder.

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I'm not sure to understand what you would like to do. Do you want to manipluate files on your files system during the load test?

Please clarify a bit.

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points

Let say..

I have a shared drive and there is a Folder already exist in this shared folder.

Now Using Java Script How to duplicate the existing folder and Rename It.

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Since from a NeoLoad Javascript you can execute .bat (or .sh) file, you could run that .bat file using eventually some parameters in order to rename your folder.

You can look here to know how to run .bat (or .sh) command on the load generator side during a load testing.