Blazemeter / CitrixPlugin

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

CitrixClientException: Timed out waiting for OnConnect #39

Closed aqiftekhar closed 2 years ago

aqiftekhar commented 3 years ago

I am getting issue, Citrix timed out waiting for connection whereas ICA is download and Application is launched successfully as shown below in log and images

ICA Downloaded Successfully.

image

Citrix Recorder/Citrix Receiver Launched Successful

image

Log Error

2020-12-03 02:17:21,156 INFO o.a.j.u.SSLManager: KeyStore created OK
2020-12-03 02:17:21,156 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2020-12-03 02:17:41,317 INFO o.a.j.t.JMeterThread: Thread is done: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 02:17:41,317 INFO o.a.j.t.JMeterThread: Thread finished: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 02:17:41,323 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-12-03 02:17:41,464 INFO c.b.j.c.r.CitrixRecorder: ICA file successfully downloaded in : D:\DownloadICA\4503600b-76fe-4e1e-8b0d-51babe3d3dd1.ica
2020-12-03 02:17:56,620 ERROR c.b.j.c.c.w.WinCitrixClient: Reason: 11
2020-12-03 02:17:56,656 ERROR c.b.j.c.r.g.CitrixRecorderGUI: Error occured starting citrix application com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
java.util.concurrent.ExecutionException: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.get(Unknown Source) ~[?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.done(CitrixRecorderGUI.java:1108) [citrix-jmeter-0.6.0.jar:?]
    at javax.swing.SwingWorker$5.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:1.8.0_251]
    at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]
Caused by: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.startSession(WinCitrixClient.java:274) ~[citrix-jmeter-0.6.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.start(AbstractCitrixClient.java:346) ~[citrix-jmeter-0.6.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.startRecord(CitrixRecorder.java:183) ~[citrix-jmeter-0.6.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1095) ~[citrix-jmeter-0.6.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1074) ~[citrix-jmeter-0.6.0.jar:?]
    at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.run(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_251]
2020-12-03 02:18:00,704 INFO c.b.j.c.c.w.WinCitrixClient: Sess: des_dim=1920x1080, des_depth=nullbpp, dim=1920x1016, depth=24bpp, Scr: dim=1920x1080, depth=32bpp
aqiftekhar commented 3 years ago

My citrix session do not show permit access dialog box

the above mentioned issue is with 0.6.0 and 0.7.0 whereas it is working fine with 0.5.5.

The only issue i am facing with 0.5.5 is it is not allowing to take screenshots as mentioned below in the log

Log Error

2020-12-03 02:32:31,837 INFO o.a.j.t.JMeterThread: Thread is done: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 02:32:31,837 INFO o.a.j.t.JMeterThread: Thread finished: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 02:32:31,843 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-12-03 02:32:32,748 INFO c.b.j.c.r.CitrixRecorder: ICA file successfully downloaded in : D:\DownloadICA\8e1ea23f-618a-4ca6-b221-962e64d6b0fe.ica
2020-12-03 02:34:09,493 WARN o.a.j.u.JMeterUtils: Exception 'For input string: ""' occurred when fetching int property:'bzm.citrix.logon_timeout', defaulting to: 20000
2020-12-03 02:34:09,494 ERROR c.b.j.c.r.CitrixRecorder: Unable to get snapshot at application start
com.blazemeter.jmeter.citrix.client.CitrixClientException: Thread AWT-EventQueue-0 is unable to create screenshot whereas Citrix session is not available.
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.createScreenshot(WinCitrixClient.java:272) ~[citrix-jmeter-0.5.5.jar:?]
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.doScreenshot(WinCitrixClient.java:314) ~[citrix-jmeter-0.5.5.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.takeScreenshot(AbstractCitrixClient.java:350) ~[citrix-jmeter-0.5.5.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.takeSnapshot(AbstractCitrixClient.java:355) ~[citrix-jmeter-0.5.5.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.createStartApplicationSampler(CitrixRecorder.java:470) [citrix-jmeter-0.5.5.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI.actionPerformed(CitrixRecorderGUI.java:823) [citrix-jmeter-0.5.5.jar:?]
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [?:1.8.0_251]
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]
3dgiordano commented 3 years ago

Hi @aqiftekhar Versions prior to 0.6.0 did not handle timeout errors correctly.

Try to increase the connection time out.

The property is bzm.citrix.client_factory.client_property.connect_timeout_ms

More info https://github.com/Blazemeter/CitrixPlugin/blob/master/SETUP.md#plugin-properties

3dgiordano commented 3 years ago

@aqiftekhar Also something that you mention, the message that you indicate of access request that which appears in version 0.5.5 and not in the last two versions. Can you send us information about what kind of message is?

aqiftekhar commented 3 years ago

I added settings as you suggested and increased its time to 500000.

I have also attached log file. I will be thankful to you if you can share what i am doing wrong. I believe, i have not missed anything this time.

I am not using template. I have only recorded Citrix Portal with HTTPS Recorder, Saved ICA file by adding ICA File Saver in the last HTTPS Request where script download ICA file and When I click Start Recording it automatically generate Citrix Application Launcher as shown below.

Citrix Application Launcher

image

User defined variables I am using

image

User Name & Password added in Login HTTPS Request

image

Recording Screen, image

Citrix Application Launch Sampler Result

image

User Properties

image

Launch ICA

image

Citrix Receiver Launched

image

Error message in JMeter

image

Errors


[2020-12-03 04:03:14,018 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2020-12-03 04:03:14,020 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2020-12-03 04:03:14,021 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2020-12-03 04:03:14,023 INFO o.a.j.s.SaveService: Loading file: D:\Test - Record\CitrixTest.jmx
2020-12-03 04:03:14,113 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2020-12-03 04:03:14,114 INFO o.a.j.p.h.c.CacheManager: Will only cache the following methods: [GET]
2020-12-03 04:03:14,222 INFO c.b.j.c.r.g.TemplateUpdater: Checking if we need to refresh XML template file D:\apache-jmeter-5.2.1\apache-jmeter-5.2.1\bin\templates/bzmCitrixTemplateWithParameters.xml
2020-12-03 04:03:14,222 INFO c.b.j.c.r.g.TemplateUpdater: Checking if we need to refresh JMX template file D:\apache-jmeter-5.2.1\apache-jmeter-5.2.1\bin\templates/citrixRecordingTemplateWithParameters.jmx
2020-12-03 04:03:14,267 INFO o.a.j.s.FileServer: Set new base='D:\Test - Record'
2020-12-03 04:03:19,345 INFO c.b.j.c.r.CitrixRecorder: Begin of a citrix recording sequence
2020-12-03 04:03:19,350 WARN o.a.j.u.JMeterUtils: Exception 'For input string: ""' occurred when fetching boolean property:'bzm.citrix.ica_downloading_ignore_timers', defaulting to: true
2020-12-03 04:03:19,351 WARN o.a.j.u.JMeterUtils: Exception 'For input string: ""' occurred when fetching boolean property:'bzm.citrix.ica_downloading_ignore_backends', defaulting to: true
2020-12-03 04:03:19,351 INFO c.b.j.c.r.TreeClonerForICADownloading: Running ICA file downloading with ignoreTimers:true, ignoreBackends:true
2020-12-03 04:03:19,357 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2020-12-03 04:03:19,358 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-12-03 04:03:19,358 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-12-03 04:03:19,359 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2020-12-03 04:03:19,359 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2020-12-03 04:03:19,550 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  checking ICA save folder D:\DownloadICA
2020-12-03 04:03:19,551 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  ICA save folder D:\DownloadICA is ok
2020-12-03 04:03:19,551 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  cleaning old ICA files in D:\DownloadICA
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  checking ICA save folder D:\DownloadICA
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  ICA save folder D:\DownloadICA is ok
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver: ICA File Saver  cleaning old ICA files in D:\DownloadICA
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver:  checking ICA save folder D:\DownloadICA
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver:  ICA save folder D:\DownloadICA is ok
2020-12-03 04:03:19,553 INFO c.b.j.c.l.CitrixIcaFileSaver:  cleaning old ICA files in D:\DownloadICA
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Starting 0 threads for group Thread Group.
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2020-12-03 04:03:19,663 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=0 ramp-up=1 delayedStart=false
2020-12-03 04:03:19,663 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 2 : ICA-Download-By-Citrix-Recorder
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group ICA-Download-By-Citrix-Recorder.
2020-12-03 04:03:19,663 INFO o.a.j.e.StandardJMeterEngine: Test will stop abruptly on error
2020-12-03 04:03:19,664 INFO o.a.j.t.ThreadGroup: Starting thread group... number=2 threads=1 ramp-up=0 delayedStart=false
2020-12-03 04:03:19,666 INFO o.a.j.t.ThreadGroup: Started thread group number 2
2020-12-03 04:03:19,666 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-12-03 04:03:19,668 INFO o.a.j.t.JMeterThread: Thread started: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:03:19,669 INFO c.b.j.c.s.StartApplicationSampler: ICA-Download-By-Citrix-Recorder 2-1 on sampler Citrix Application Launcher ensures OCR is initialized
2020-12-03 04:03:19,749 INFO c.b.j.c.s.StartApplicationSampler: OCR initialized in 80 millis
2020-12-03 04:03:19,822 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = PKLAHL105
2020-12-03 04:03:19,827 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2020-12-03 04:03:19,860 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2020-12-03 04:03:19,861 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2020-12-03 04:03:19,861 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2020-12-03 04:03:20,431 INFO o.a.j.u.SSLManager: JmeterKeyStore Location:  type JKS
2020-12-03 04:03:20,433 INFO o.a.j.u.SSLManager: KeyStore created OK
2020-12-03 04:03:20,433 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2020-12-03 04:05:24,537 ERROR c.b.j.c.c.w.WinCitrixClient: Reason: 3
2020-12-03 04:05:24,541 ERROR c.b.j.c.s.CitrixBaseSampler: com.blazemeter.jmeter.citrix.sampler.SamplerRunException: Timed out waiting for OnConnect:Unable to handle Citrix client action. See log file for more informations.
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.handleClientAction(CitrixBaseSampler.java:166)
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.sample(CitrixBaseSampler.java:269)
    at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627)
    at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551)
    at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.startSession(WinCitrixClient.java:274)
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.start(AbstractCitrixClient.java:375)
    at com.blazemeter.jmeter.citrix.sampler.StartApplicationSampler.doClientAction(StartApplicationSampler.java:97)
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.handleClientAction(CitrixBaseSampler.java:162)
    ... 6 more

com.blazemeter.jmeter.citrix.sampler.SamplerRunException: Timed out waiting for OnConnect:Unable to handle Citrix client action. See log file for more informations.
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.handleClientAction(CitrixBaseSampler.java:166) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.sample(CitrixBaseSampler.java:269) [citrix-jmeter-0.7.0.jar:?]
    at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:627) [ApacheJMeter_core.jar:5.2.1]
    at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:551) [ApacheJMeter_core.jar:5.2.1]
    at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:490) [ApacheJMeter_core.jar:5.2.1]
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257) [ApacheJMeter_core.jar:5.2.1]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
Caused by: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.startSession(WinCitrixClient.java:274) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.start(AbstractCitrixClient.java:375) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.sampler.StartApplicationSampler.doClientAction(StartApplicationSampler.java:97) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.sampler.CitrixBaseSampler.handleClientAction(CitrixBaseSampler.java:162) ~[citrix-jmeter-0.7.0.jar:?]
    ... 6 more
2020-12-03 04:05:24,542 INFO o.a.j.t.JMeterThread: Stop Test Now detected by thread: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:05:24,543 INFO o.a.j.t.JMeterThread: Thread is done: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:05:24,543 INFO o.a.j.t.JMeterThread: Thread finished: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:05:24,544 INFO o.a.j.t.JMeterThread: Stopping: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:05:24,550 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-12-03 04:05:25,414 INFO c.b.j.c.r.CitrixRecorder: ICA file successfully downloaded in : D:\DownloadICA\1487ced6-e88b-498b-87ad-8f93f2b2e62c.ica
2020-12-03 04:05:25,450 WARN c.b.j.c.c.AbstractCitrixClient: ICA file processing error
java.io.FileNotFoundException: D:\DownloadICA\1487ced6-e88b-498b-87ad-8f93f2b2e62c.ica (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_251]
    at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_251]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_251]
    at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_251]
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) ~[?:1.8.0_251]
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_251]
    at java.net.URL.openStream(Unknown Source) ~[?:1.8.0_251]
    at org.ini4j.spi.IniSource.<init>(IniSource.java:55) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.spi.AbstractParser.newIniSource(AbstractParser.java:68) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.spi.IniParser.parse(IniParser.java:67) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.Ini.load(Ini.java:119) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.Ini.load(Ini.java:114) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.Ini.load(Ini.java:99) ~[citrix-jmeter-0.7.0.jar:?]
    at org.ini4j.Wini.<init>(Wini.java:49) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.patchICAFile(AbstractCitrixClient.java:133) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.setICAFilePath(AbstractCitrixClient.java:156) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.lambda$startRecord$1(CitrixRecorder.java:181) ~[citrix-jmeter-0.7.0.jar:?]
    at java.util.Optional.ifPresent(Unknown Source) [?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.startRecord(CitrixRecorder.java:181) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1095) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1074) [citrix-jmeter-0.7.0.jar:?]
    at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_251]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_251]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
2020-12-03 04:05:55,497 ERROR c.b.j.c.r.g.CitrixRecorderGUI: Error occured starting citrix application com.blazemeter.jmeter.citrix.client.CitrixClientException: Time out waiting for ICAFile
java.util.concurrent.ExecutionException: com.blazemeter.jmeter.citrix.client.CitrixClientException: Time out waiting for ICAFile
    at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.get(Unknown Source) ~[?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.done(CitrixRecorderGUI.java:1108) [citrix-jmeter-0.7.0.jar:?]
    at javax.swing.SwingWorker$5.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:1.8.0_251]
    at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]
Caused by: com.blazemeter.jmeter.citrix.client.CitrixClientException: Time out waiting for ICAFile
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.startSession(WinCitrixClient.java:262) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.start(AbstractCitrixClient.java:375) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.startRecord(CitrixRecorder.java:183) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1095) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1074) ~[citrix-jmeter-0.7.0.jar:?]
    at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.run(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_251]

Log File is attached: jmeter.log

aqiftekhar commented 3 years ago

I added some more user properties as mentioned below

bzm.citrix.client_factory.client_property.color_depth
bzm.citrix.client_factory.client_property.vertical_resolution=1080
bzm.citrix.client_factory.client_property.horizontal_resolution=1920
bzm.citrix.client_factory.client_property.socket_timeout_ms=200000
bzm.citrix.client_factory.client_property.connect_timeout_ms=200000
bzm.citrix.client_factory.client_property.icafile_timeout_ms=30000
bzm.citrix.client_factory.client_property.logon_timeout_ms=200000
bzm.citrix.client_factory.client_property.logoff_timeout_ms=200000
bzm.citrix.client_factory.client_property.disconnect_timeout_ms=200000
bzm.citrix.client_factory.socket_timeout_ms
bzm.citrix.clause_check_interval
bzm.citrix.clause_check_timeout
bzm.citrix.clause_hash_bit_resolution
bzm.citrix.clause_hash_bit_distance
bzm.citrix.clause_check_max_results
bzm.citrix.logon_timeout
bzm.citrix.default_recording_import_path=/citrix-recordings/
bzm.citrix.ica_downloading_ignore_backends
bzm.citrix.ica_downloading_ignore_timers
bzm.citrix.ica_file_path_var
bzm.citrix.ica_recording_folder
bzm.citrix.ica_files_folder=/DownloadICA/
bzm.citrix.selection_color
bzm.citrix.hightlight_color
bzm.citrix.ocr_language
bzm.citrix.ocr_data_path
bzm.citrix.ocr_default_dpi
bzm.citrix.capture_max_size
bzm.citrix.ica_downloading_ignore_timers
bzm.citrix.ica_downloading_ignore_backends
bzm.citrix.keystroke_delay
bzm.citrix.keystroke_delay_variation

It did wait for 2 minutes approximately after the successful launch of the Citrix Receiver but encountered error again as mentioned below.

2020-12-03 04:48:29,787 INFO o.a.j.t.JMeterThread: Thread finished: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 04:48:29,794 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-12-03 04:48:30,458 INFO c.b.j.c.r.CitrixRecorder: ICA file successfully downloaded in : D:\DownloadICA\39f135b4-8ac4-4479-a275-ff64f215232f.ica
2020-12-03 04:51:50,630 ERROR c.b.j.c.c.w.WinCitrixClient: Reason: 3
2020-12-03 04:51:50,667 ERROR c.b.j.c.r.g.CitrixRecorderGUI: Error occured starting citrix application com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
java.util.concurrent.ExecutionException: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.get(Unknown Source) ~[?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.done(CitrixRecorderGUI.java:1108) [citrix-jmeter-0.7.0.jar:?]
    at javax.swing.SwingWorker$5.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:1.8.0_251]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:1.8.0_251]
    at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]
Caused by: com.blazemeter.jmeter.citrix.client.CitrixClientException: Timed out waiting for OnConnect
    at com.blazemeter.jmeter.citrix.client.windows.WinCitrixClient.startSession(WinCitrixClient.java:274) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.client.AbstractCitrixClient.start(AbstractCitrixClient.java:375) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.startRecord(CitrixRecorder.java:183) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1095) ~[citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI$StartRecording.doInBackground(CitrixRecorderGUI.java:1074) ~[citrix-jmeter-0.7.0.jar:?]
    at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_251]
    at javax.swing.SwingWorker.run(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:1.8.0_251]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Thread.run(Unknown Source) ~[?:1.8.0_251]

I will be grateful to you for your help in this regard.

Thanks

aqiftekhar commented 3 years ago

one more thing i would like to add here is, my Citrix server is based on

Server Machine

Client Machine ( My machine)

Before this, server was based on Windows 2008 Server, XenApp 6.5 and Citrix Receiver 4.7.0.13011 was installed on client side. which is now replaced by Workspace 1912. I can see that application and citrix receiver launch as expected and i can work manually but i am not able to proceed with the citrix script recorder as it return Connect Timeout error.

Any solution/workaround or any suggestion? any plan to make plugin 1912 LTSR CU1 supported if this is the issue?

Thanks.

aqiftekhar commented 3 years ago

one more thing i would like to add here is, my Citrix server is based on

Server Machine

  • Windows Server 2016
  • Citrix Virtual Apps and Desktops 7 1912 LTSR CU1

Client Machine ( My machine)

  • Citrix Reciever 4.7.0.13011

Before this, server was based on Windows 2008 Server, XenApp 6.5 and Citrix Receiver 4.7.0.13011 was installed on client side. which is now replaced by Workspace 1912. I can see that application and citrix receiver launch as expected and i can work manually but i am not able to proceed with the citrix script recorder as it return Connect Timeout error.

Any solution/workaround or any suggestion? any plan to make plugin 1912 LTSR CU1 supported if this is the issue?

Thanks.

On this link https://github.com/Blazemeter/CitrixPlugin/blob/master/PRE_REQUISITES.md#system-requirements-and-compatibility I can see that this plugin provide support for what i have installed i.e. Windows server 2016, Citrix Virtual Apps and Desktops 7 1912 LTSR CU1 on the server machine and Citrix Receiver 4.7.0.13011 on my local machine where i am recording scripts.

Do I install Citrix Reciever 4.7.0.13011 on my local machine where i am recording scripts and try will installation of Workspace 1912??

aqiftekhar commented 3 years ago

So, After hammering my head for 10+ hours, I uninstalled Citrix Receiver 4.7.0.13011 and installed CitrixWorkSpace 1912 and it started working and Connection Timeout issue gone.

Citrix Recorder Launched Application successfully and is connected

image

Application Launched and Recording is working

image

Now i am facing screenshot issue where application is black.

image

Log Error: ERROR c.b.j.c.g.ImagePanel: Error parsing value for property bzm.citrix.selection_color, defaulting to java.awt.Color[r=0,g=255,b=0]

2020-12-03 06:02:28,445 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-12-03 06:02:28,445 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 2 : ICA-Download-By-Citrix-Recorder
2020-12-03 06:02:28,445 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group ICA-Download-By-Citrix-Recorder.
2020-12-03 06:02:28,445 INFO o.a.j.e.StandardJMeterEngine: Test will stop abruptly on error
2020-12-03 06:02:28,445 INFO o.a.j.t.ThreadGroup: Starting thread group... number=2 threads=1 ramp-up=0 delayedStart=false
2020-12-03 06:02:28,448 INFO o.a.j.t.ThreadGroup: Started thread group number 2
2020-12-03 06:02:28,448 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-12-03 06:02:28,449 INFO o.a.j.t.JMeterThread: Thread started: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 06:02:28,492 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = PKLAHL105
2020-12-03 06:02:28,496 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2020-12-03 06:02:28,526 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2020-12-03 06:02:28,529 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2020-12-03 06:02:28,529 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2020-12-03 06:02:28,897 INFO o.a.j.u.SSLManager: JmeterKeyStore Location:  type JKS
2020-12-03 06:02:28,898 INFO o.a.j.u.SSLManager: KeyStore created OK
2020-12-03 06:02:28,898 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2020-12-03 06:02:53,139 INFO o.a.j.t.JMeterThread: Thread is done: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 06:02:53,139 INFO o.a.j.t.JMeterThread: Thread finished: ICA-Download-By-Citrix-Recorder 2-1
2020-12-03 06:02:53,146 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-12-03 06:02:53,158 INFO c.b.j.c.r.CitrixRecorder: ICA file successfully downloaded in : D:\DownloadICA\12ac5094-3582-43d0-a2e9-54e856f405d4.ica
2020-12-03 06:03:34,843 INFO c.b.j.c.c.w.WinCitrixClient: Sess: des_dim=1920x1080, des_depth=nullbpp, dim=1920x1016, depth=24bpp, Scr: dim=1920x1080, depth=32bpp
2020-12-03 06:04:09,215 ERROR c.b.j.c.g.ImagePanel: Error parsing value  for property bzm.citrix.selection_color, defaulting to java.awt.Color[r=0,g=255,b=0]
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Integer.parseInt(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Integer.parseInt(Unknown Source) ~[?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.gui.ImagePanel.getColorFromProperty(ImagePanel.java:62) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.gui.ImagePanel.<clinit>(ImagePanel.java:31) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.clause.gui.ClauseBuilderPanel.initialize(ClauseBuilderPanel.java:314) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.clause.gui.ClauseBuilderPanel.<init>(ClauseBuilderPanel.java:117) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.gui.GuiHelper.buildClause(GuiHelper.java:60) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI.onBuildClause(CitrixRecorderGUI.java:1056) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.buildClause(CitrixRecorder.java:246) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.buildClause(CitrixRecorder.java:242) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.createStartApplicationSampler(CitrixRecorder.java:465) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI.actionPerformed(CitrixRecorderGUI.java:862) [citrix-jmeter-0.7.0.jar:?]
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [?:1.8.0_251]
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]
2020-12-03 06:04:09,216 ERROR c.b.j.c.g.ImagePanel: Error parsing value  for property bzm.citrix.selection_color, defaulting to java.awt.Color[r=0,g=255,b=0]
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Integer.parseInt(Unknown Source) ~[?:1.8.0_251]
    at java.lang.Integer.parseInt(Unknown Source) ~[?:1.8.0_251]
    at com.blazemeter.jmeter.citrix.gui.ImagePanel.getColorFromProperty(ImagePanel.java:62) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.gui.ImagePanel.<clinit>(ImagePanel.java:34) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.clause.gui.ClauseBuilderPanel.initialize(ClauseBuilderPanel.java:314) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.clause.gui.ClauseBuilderPanel.<init>(ClauseBuilderPanel.java:117) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.gui.GuiHelper.buildClause(GuiHelper.java:60) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI.onBuildClause(CitrixRecorderGUI.java:1056) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.buildClause(CitrixRecorder.java:246) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.buildClause(CitrixRecorder.java:242) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.CitrixRecorder.createStartApplicationSampler(CitrixRecorder.java:465) [citrix-jmeter-0.7.0.jar:?]
    at com.blazemeter.jmeter.citrix.recorder.gui.CitrixRecorderGUI.actionPerformed(CitrixRecorderGUI.java:862) [citrix-jmeter-0.7.0.jar:?]
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [?:1.8.0_251]
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [?:1.8.0_251]
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.processEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_251]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_251]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_251]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_251]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_251]

All Recordings are when playback there was only a black screen.

Let me know what i should do to fix this screenshot issue?

Regards.

3dgiordano commented 3 years ago

Hi @aqiftekhar

Be careful with putting settings in user.properties that you don't know what they are or how to configure it. I notice in the snapshot you sent, keys without values. Delete the settings with bzm.citrix. * Prefix that you don't need or not have value from that configuration.

Related to the black screen error, follow the next instructions https://github.com/Blazemeter/CitrixPlugin/blob/9d9e80654645b473dfecae26481fd57bf83001f1/TROUBLESHOOTING.md#black-screenshots

It is a Citrix problem with the video drivers but that it is possible to perform a workaround that allows you to recording, disabling the video driver which Citrix does not support.

3dgiordano commented 2 years ago

I'm closing this issue because it has been inactive for a few months.