Citrix scripts run in VuGen but time out on BPMs

I have some Citrix scripts that were deployed to BPMs and performed well.  Now for some reason they finally get initialized, are "running", but only end up in status of "Aborted (timed-out)".  Nothing is written to the workspace  / .. / res / bpm_mdrv.log nor the logfile.log

Parents
  • Hi Reloader,

     

    Is BPM running as a service or as a process?

    BPM version?

    What is the citrix client and citrix server version?

     

    What if you run the script manually, is it working?

     

    Let us know this information,

     

    Regards,

    JV.

  • Help me understand Service or as a Process.  It shows up in Task Manager as a Service running under user SYSTEM.

     

    BPM is 9.24

    I have tried both

    Citrix online plug-in 12.3.0,8  and

    Citrix Reciver 13.4.201.3

    (and I became familiar with the RecieverCleanupUtility)

    and running Enable_Citrix_API.reg after each install

    I don't see anything that tells me which citrix server (I saw mention of a XenApp, that is all)

     

    By "What if you run the script manually, is it working?" do you mean running it in VuGen?  It runs in VuGen 11.52 and on another machine VuGen 12.00.  On the BPM I can use the .ica file and do what the script does.

  • Reloader,

     

    Maybe you can take a look at the compatible components for running BPM 9.24,

     

     

    I recommend you to use the compatible engines to establish this communication,

     

    Also, in order to run the script manually, you need to open the script folder and then the res folder, copy the command contained in cmdline.txt and run it directly on the CMD console located from the BPM server, you can share the output.

     

    Regards,

    JV.

Reply
  • Reloader,

     

    Maybe you can take a look at the compatible components for running BPM 9.24,

     

     

    I recommend you to use the compatible engines to establish this communication,

     

    Also, in order to run the script manually, you need to open the script folder and then the res folder, copy the command contained in cmdline.txt and run it directly on the CMD console located from the BPM server, you can share the output.

     

    Regards,

    JV.

Children
  • thanks for the tip on how to run (cmdline).

    first I got error window "Compiler error :  Can't create temporary combined file d:\program...\res\combined_MES_COE_Run1.c"

    Stopped the scripts from running and tried again, same error.

     

    tried the other script and I got the same error: Compiler error : Can't create temporary combined file D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\combined_MESGLB_checkdemons_uscttsp62701.c

     

    (I am surprised there is a space in the path of my sorkspace)

    I renamed the "combined" file and tried again.  Got similar error this time with the options.txt file

    Ran cmd as "Administrator" (the account I was using is an Admin?)

    Got the Citrix Registry Patch Installation error "loadRunner needs to install a Citrix registry patch to replay on this version of the Citrix client.  Click Ok to instlal the patch and continue replaying or Cancel to stop replaying."

    Clicked "OK" but nothing happened.

    Ran Enable_Citrix_API.reg again.

    Here is the text in CMD, nothing happened.

    D:\>C:\HP\LoadGenerator\bin\mdrv.exe -usr "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5
    670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\MESGLB_checkdemons_uscttsp62701.usr" -out "D:\Program Files (x86)\HP
    \BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res" -bpm_in "D:
    \Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_chec
    k\45_1\res\MESGLB_checkdemons_uscttsp62701.metadata" -bpm_out "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\
    Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\MESGLB_checkdemons_uscttsp62701.json" -out_c
    ommunication 0 -topaz_soe_is_required 1 -time_in_log -time_diff_ext_location localhost -trans_eve 1 -trans_log 1 -no_pop
    ups "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESG
    LB_check\45_1\res\pop.log" -unique 100075712 -extra_ext Launcher -extra_ext bpm -trans_extra_ext bpm -drv_log_file "D:\P
    rogram Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\
    45_1\res\bpm_mdrv.log" -vu_id 1 -unique_scenario_param 1 -ss_zip_path "D:\Program Files (x86)\HP\BPM\Workspace\workspace
    \agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\soe_zip" -lnch_pre_err_file "D:\Prog
    ram Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_
    1\res\pre_error_msgs_file12" -lnch_post_err_file "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_
    ______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\post_error_msgs_file12" -ss_path_on_error "D:\Program Fil
    es (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\s
    oe" -product_name topaz_agent

    D:\>

     

  • thanks for the tip on how to run (cmdline).

    first I got error window "Compiler error :  Can't create temporary combined file d:\program...\res\combined_MES_COE_Run1.c"

    Stopped the scripts from running and tried again, same error.

     

    tried the other script and I got the same error: Compiler error : Can't create temporary combined file D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\combined_MESGLB_checkdemons_uscttsp62701.c

     

    (I am surprised there is a space in the path of my sorkspace)

    I renamed the "combined" file and tried again.  Got similar error this time with the options.txt file

    Ran cmd as "Administrator" (the account I was using is an Admin?)

    Got the Citrix Registry Patch Installation error "loadRunner needs to install a Citrix registry patch to replay on this version of the Citrix client.  Click Ok to instlal the patch and continue replaying or Cancel to stop replaying."

    Clicked "OK" but nothing happened.

    Ran Enable_Citrix_API.reg again.

    Here is the text in CMD, nothing happened.

    D:\>C:\HP\LoadGenerator\bin\mdrv.exe -usr "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5
    670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\MESGLB_checkdemons_uscttsp62701.usr" -out "D:\Program Files (x86)\HP
    \BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res" -bpm_in "D:
    \Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_chec
    k\45_1\res\MESGLB_checkdemons_uscttsp62701.metadata" -bpm_out "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\
    Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\MESGLB_checkdemons_uscttsp62701.json" -out_c
    ommunication 0 -topaz_soe_is_required 1 -time_in_log -time_diff_ext_location localhost -trans_eve 1 -trans_log 1 -no_pop
    ups "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESG
    LB_check\45_1\res\pop.log" -unique 100075712 -extra_ext Launcher -extra_ext bpm -trans_extra_ext bpm -drv_log_file "D:\P
    rogram Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\
    45_1\res\bpm_mdrv.log" -vu_id 1 -unique_scenario_param 1 -ss_zip_path "D:\Program Files (x86)\HP\BPM\Workspace\workspace
    \agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\soe_zip" -lnch_pre_err_file "D:\Prog
    ram Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_
    1\res\pre_error_msgs_file12" -lnch_post_err_file "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_
    ______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\post_error_msgs_file12" -ss_path_on_error "D:\Program Fil
    es (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\s
    oe" -product_name topaz_agent

    D:\>

     

  • Well, not "nothing happened".

    An empty soe folder was created in the res folder.

    And the bpm_mdrv.log is not zero bytes long this time.  Here are the contents:

    27/06/2014 09:01:47 Action.c(10): Error: Connect can not be established - Last Citrix error=13 (Unsupported function), last client error=0 (Unknown client error 0) [MsgId: MERR-91996]
    27/06/2014 09:01:47 NOTIFY    BPM: snapshot handler: snapshot dir is empty: "D:\Program Files (x86)\HP\BPM\Workspace\workspace\agent1\Site1\MESGLB_______5670f36b1e609dfa84646515c0fbba94_2\MESGLB_check\45_1\res\soe" [MsgId: MMSG0]
    27/06/2014 09:01:47 NOTIFY    BPM: snapshot handler: create_snapshot: preconditions failed [MsgId: MMSG0]