问题:loadrunner 负载生成器报错Error: CCI security error:You are running under secure mode and the function _time32 is not allowed in this mode
解决:
位置在:负载生成器主机上 在 ${安装路径}\merc_asl\lrun_api.asl. 中添加
_time32=
[popexizhi: 这里err提示什么就加什么,pope使用的是time,但这里提示为_time32,加_time32才可以]
添加位置参考:【https://commonlrissues.blogspot.com/2012/09/functions-not-allowed-while-running.html】
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]=
文件参考:【https://groups.google.com/g/lr-loadrunner/c/K3DcFTZmpOg】
For general LoadRunner (lr) of C functions, you can simply append the function with an equal sign to the end of the lrun_api.asl.
EXAMPLE: To add a function called 'lr_save_value', add the following to the end of the file:
没有评论:
发表评论