Blazemeter / CitrixPlugin

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

java.io.NotSerializableException when trying to run CitrixPlugin on Remote #47

Closed gooflee closed 2 years ago

gooflee commented 3 years ago

Enviroment Details: Windows Server 2012 R2 Jmeter 5.4 citrix-plugin 0.7.3. AdpoptJDK 11.0.10 (32-bit) Citrix Workspace 1912

I can run Citrix Plugin Test Plans via the GUI and CLI, but when I try to run the test plan on a remote server, I get the following error:

Error in rconfigure() method java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: com.blazemeter.jmeter.citrix.client.windows.WinCitrixClientFactory

I tried different version of JDK, and previous versions of JMeter but the error still occurs when I try to run the test plan on remote. Even a new Citrix Test Plan with only a manually added Citrix Element Launcher has the error. NotSerializableError

3dgiordano commented 3 years ago

Hi @gooflee

Thank you for reporting the bug.

We have identified the error, both in its execution by RMI and in the JMeter graphical interface. Unfortunately we have not been able to invest in solving it for the latest release, but we will try to fix it as soon as possible.

Regarding the errors in the graphical interface of JMeter, the alternative is to use "Duplicate" or "Move" and not to use "Copy and paste". JMeter when copying and pasting, there it serializes the object to memory and that causes the failure.

Currently the remote execution that is running is the distributed execution using BlazeMeter's Private Location. If you are a BlazeMeter customer, you can contact support to get the Citrix Private Location solution.

For distributed execution of JMeter via RMI, we will work to fix it asap.

XerOpsNL commented 2 years ago

@3dgiordano, do you got an update on solving the java.io.NotSerializableException: com.blazemeter.jmeter.citrix.client.windows.WinCitrixClientFactory error?

3dgiordano commented 2 years ago

A new version of the plugin was released today. Citrix Plugin v0.7.5 https://github.com/Blazemeter/CitrixPlugin/releases/tag/0.7.5 Fixed some issues around serialization.

In case the problem has not been resolved, you can reopen the ticket again reporting what was found.