Problem Statement: In certain cases your VUGen script has certain functions (may be custom functions in C like malloc, etc) which runs fine during replay on your machine. But the same function gives an error while running the script on a load generator over firewall (i.e. the vuser is running over a firewall). The error given by LR is: "Error: -19886: CCI security error:You are running under secure mode and
the function is not allowed in this mode"
Is there a way to allow the function to be run in the load generator?
PS: This error doesn't come while running the script on a normal load generator (not behind the firewall).
Solution: The answer is Yes, it is possible to do so.
go to the load generator machine where the above mentioned error is coming; go to the installation directory and open the folder called as "merc_asl".
There will be many "*.asl" files, each corresponding to protocols support during running Vusers over firewall.
Open the .asl file for the protocol in a wordpad for which you are getting the above error, add your function in that file as shown below:
[Function name]=
Is there a way to allow the function to be run in the load generator?
PS: This error doesn't come while running the script on a normal load generator (not behind the firewall).
Solution: The answer is Yes, it is possible to do so.
go to the load generator machine where the above mentioned error is coming; go to the installation directory and open the folder called as "merc_asl".
There will be many "*.asl" files, each corresponding to protocols support during running Vusers over firewall.
Open the .asl file for the protocol in a wordpad for which you are getting the above error, add your function in that file as shown below:
[Function name]=
It was very nice article and it is very useful to Load Runner learners.We also provide Cub training software online training.
ReplyDelete