sikuli doesn't work in jmeter remote-testing

Asked by Glenda001 on 2019-08-16

I recently use sikuli for web application automation, and want to use jmeter remote-testing to small load testing.

My test works well in local machine, with junit request in jmeter, but it always fail at any sikuli class/method when try to run jmeter remote-testing at remote slave machine, e.g., Screen s = new Screen();. is reported error "Screen: invalid screen id -1 - using primary screen"

I tried to force new Screen(0), it doesn't help.

how can I get this work?

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

I do not know anything about your setup, but it looks like that the environment on the remote machine does not have access to a real screen at runtime.

SikuliX needs access to a real screen or at least to some emulated screen like you get with xvfb.

Can you help with this problem?

Provide an answer of your own, or ask Glenda001 for more information if necessary.

To post a message you must log in.