Blazemeter / CitrixPlugin

A repository for the Citrix Plugin for JMeter
Apache License 2.0
11 stars 2 forks source link

Citrix users fail to recognize child window after several iterations #75

Open karthikkn24 opened 4 months ago

karthikkn24 commented 4 months ago

Our IT Team updated Citrix to a recent/2024 release (in accordance w/ Corporate Security Policies) and now our scripts fail to work before reaching the full Test Duration.

The users fail after several successful iterations, they fail to recognize the child windows. Logs shows that the citrix session is active and is able to see the parent window and is able to send commands.

So far we have tested with Citrix versions 24.2.0.172 and 24.3.1.97

Please find the attachment for part of the the user log.

Line 1 shows that the user is on Parent window, Iteration 6 is starting. Line 34, 35 – does Ctrl + N, which brings us the New Order dialog. Line 39- shows that its expecting New Order dialog to appear, though the window appeared, it failed to recognize the window name. we could confirm this from screeshots that it appeared, but Jmeter doesn't recognize the child window. JMeter_User_Log.txt

From this iteration onwards, it couldn’t recognize the child windows.

Please help us get this resolved so we can continue using JMeter / Citrix in a secure environment.

3dgiordano commented 4 months ago

Hi @karthikkn24 Thank you for reporting this issue when using the latest versions of Citrix Workspace.

It is not within our control if Citrix Workspace does not report or provide the same information about window information as existed before.

Unfortunately, we do not have a Citrix environment to verify if the latest versions of Citrix Workspace changed something or if something stopped working.

What version of the plugin are you using?

karthikkn24 commented 4 months ago

We are currently using 0.7.6 plugin version since 0.7.7 has issues running in command line as well as remote distributed mode.

The issue is, it works for few hours before it fails to recognize the child windows.

We could help you troubleshoot the issue if you can provide us with any tools/patches to run and provide the logs for you.

Also, FYI that Citrix "2203 LTSR" has passed End of Maintenance, and will reach EOL in 03/23/2025. So this might take you away from a supported version of Citrix.

Appreciate your response and look forward to working with you to hopefully move forward to a supported Citrix version.

3dgiordano commented 4 months ago

Hi @karthikkn24

We're sorry that the new versions of Citrix Workspace are giving you problems. But if it "works fine for a while and then stops working", it's not something that's under our control. It is something that you should consult with Citrix support. The new version of Citrix Workspace appears to be more unstable than the previous one. From our side we use the Citrix Workspace api and if the Citrix Workspace api fails, we have no control over it.

It really worked well for them with the previous version of the Citrix Workspace client. You should consult with Citrix support and notify about the problem with the new version of Citrix Workspace client and see if together with them they find the solution to the problems in their services.

In our tests, version 2203 LTSR was the most stable of the available versions, it is the version we recommend. We have no control over bugs and problems that Citrix may have in its solutions. Some organizations use that version on their test servers and test machines, even though their users and the organization use another version for their users. They separate what is a testing version from the end-user version.

karthikkn24 commented 4 months ago

Thanks for your response.

Do you have any other users reported or ours is the first one to report on the new Citrix version?

mhlfst commented 2 months ago

Hi @karthikkn24,

I just came across this thread and can confirm that we are facing the same issue. Instead of the 24xx versions we keep using 2203 LTSR CU6 Hotfix 2.

We've informed Citrix support that there may be a bug in their 2024 versions.

3dgiordano commented 2 months ago

Thanks @mhlfst It's good to know which versions of Citrix Workspace have problems. Thank you for confirming this information.

The LTSR 2402 version was released, many people on the internet are reporting that they are having problems with their installation when migrating (not related with automation, more severe, doesn't work as a expected in the update of the software infrastructure) .

Citrix released the 2402 CU1 version a month ago, I don't know if you have had the opportunity to try it @mhlfst or @karthikkn24.

https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/workspace-app-for-windows-LTSR-Latest.html

However, many people on the internet report that even with CU1 they are having problems. They are reporting issues and hope to have them resolved by CU2 or some hotfix on CU1.

It is recommended that you review these issues with Citrix support, it still seems that version 2402 is not stable for use.

Thanks @mhlfst for sharing what version works as a expected for you. 2203 LTSR, the EOL I think is at the end of this month. For those who work with Citrix, it is very common to stay on stable versions rather than move to unstable versions, waiting for Citrix to fix their problems. These are issues that should be evaluated and discussed with Citrix support.

We would greatly appreciate it if you would keep us informed if Citrix releases a version that fixes your issues and is stable enough for use. That way we can also recommend that version to others.

mhlfst commented 2 months ago

Hi @3dgiordano,

thanks for the hint, I just tried the 2402 CU1 (LTSR) version - unfortunately with no luck, the issue persists.

According to the Citrix Lifecycle Milestones, the 2203 LTSR version's EOL is not until 23-Mar-25. Nevertheless we stay in contact with Citrix. They just asked what API we use for testing, so I sent them this github repository. Do you have any further information I should provide them?

As soon as we found a new version that works, I'll let you know. Thanks again for your great work! 👍