Unanswered question

How to run a html file from neoload

I have written a java script file which has to import some libraries. Importing libraries is only possible through html file. Is it possible that i can run the html file

Sadasivuni V.
Sadasivuni V.

Sadasivuni V.

Level
1
317 / 750
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I'm not sure to understand your constraint when you say "Importing libraries is only possible through html file".

Do you want to call a .JAR from NeoLoad or to write some JAVA code in NeoLoad that you want to execute within a NeoLoad Javascript?

In the latter you have to copy the necessary ibraries into that folder: <neoload-project>/lib/jslib/

Please provide more details about what you would like to achieve.

Sadasivuni V.
Sadasivuni V.

Sadasivuni V.

Level
1
317 / 750
points

I want to write a java code in neoload , is it possible?

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You can't directly write your JAVA code in NeoLoad but you can call it through a NeoLoad Javascript.

The best is to look at the tutorial available on the NeoLoad Documtentation here

Sadasivuni V.
Sadasivuni V.

Sadasivuni V.

Level
1
317 / 750
points

Will it be able to take the parameters from neoload. If yes, with what value i need to replace it. Is it ${variable_name}

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Yes, calls to jar files can take arguments, they will be in the form of ${var}