Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Jmeter Citrix plugin in command mode #71

Open
Madeppa opened this issue Jan 10, 2024 · 8 comments
Open

Run Jmeter Citrix plugin in command mode #71

Madeppa opened this issue Jan 10, 2024 · 8 comments

Comments

@Madeppa
Copy link

Madeppa commented Jan 10, 2024

Hi Team,

Can anyone please let me know whether the Jmeter Citrix plugin supports for non-gui mode(command mode)?

I have a Citrix plugin 0.7.7 version.

I tried to run the script in non-gui mode, but its not able to launch 'Citrix Application Launcher'.

However the same script executes in GUI mode.

Regards,
Madeppa

@mhlfst
Copy link

mhlfst commented Jan 12, 2024

Hi, I have the same issue. Seems to be a bug.
See: #70

@Madeppa
Copy link
Author

Madeppa commented Jan 30, 2024

Hi @3dgiordano,

Could you please let me know any update on running the Jmeter Citrix scripts in command mode?

I am able to complete Jmeter scripting for Citrix workflow. However, at present I am stuck here to run the load test as it runs only in UI mode. The problem with UI testing is that, getting the 'out of memory' error after few minutes into the test.

It would be a great help if I get any suggestions/update on this.

Regards,
Madeppa

@mhlfst
Copy link

mhlfst commented Jan 30, 2024

Hi @Madeppa,

as long as this isn't fixed, we keep using v0.7.6 which works fine from command line.
Still we hope for a fix in the next version :)

@team keep up the great work! 👍

@Madeppa
Copy link
Author

Madeppa commented Jan 30, 2024

Hi @mhlfst,

I know that we can run in command mode in older version(v0.7.6). However, I cant use older version (v0.7.6) as it wont support "getForegroundWindowCaption()" function. This particular function available only in v0.7.7.

Please let me if you have any suggestions to run in command mode in latest version(v0.7.7).

Regards,
Madeppa

@mhlfst
Copy link

mhlfst commented Jan 30, 2024

Hi @Madeppa,

with v0.7.6 you can use this in a JSR223 groovy sampler to get the foreground window caption:

import com.blazemeter.jmeter.citrix.sampler.CitrixSessionHolder
import com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient
import com.blazemeter.jmeter.citrix.client.windows.com4j.IICAClient
import com.blazemeter.jmeter.citrix.client.windows.com4j.ISession
import com.blazemeter.jmeter.citrix.client.windows.com4j.IWindow

WinCitrixClient client = CitrixSessionHolder.getClient()
IICAClient icaClient = WinCitrixClient.metaClass.getProperty(client,'icaClient')
ISession session = icaClient.session()
IWindow foregroundWindow = session.foregroundWindow()
String caption = foregroundWindow.caption()
println("Foreground window caption: "+caption)

@Madeppa
Copy link
Author

Madeppa commented Jun 5, 2024

Hi @mhlfst & Team,

Will there be a new version to support non-gui mode?
Currently we are still using the older version 0.7.6.

Is there a technical reason that it broke non-gui mode in 0.7.7? or the issue is unknown, and the temporary workaround is to use 0.7.6?

Regards,
Madeppa

@mhlfst
Copy link

mhlfst commented Jun 5, 2024

Hi @Madeppa,

I'm just a user, not a developer of this plugin ;) In my company we're still using 0.7.6 because of the issues in command line mode with 0.7.7. Hopefully there will be a fix in the next version.

mhlfst

@karthikkn24
Copy link

Hello,

We are also stuck on 0.7.6 due to the issue with command line mode and remote executions on 0.7.7.

Any update when the new version will be available?

Thanks,
Karthik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants