Im using sikulixapi along with JMeter to automate the workflow. In the JMter log I can see the click events logged with following times in milli seconds. What is this times recorded in the logs?
[error] Mouse: not useable (blocked)
[log] CLICK on L[1225,1049]#S(0) (538 msec)
[log] CLICK on L[1225,1049]#S(0) (123 msec)
[log] CLICK on L[1055,441]#S(0) (531 msec)
[log] CLICK on L[1210,682]#S(0) (522 msec)
[log] CLICK on L[505,593]#S(0) (523 msec)
The logged time is the time needed to search the image to be clicked.
In the second case it was apparently the same image as in case 1 (same click location, shorter time because it was found in the same place as with the last search before).
RaiMan from SikuliX
Related
I am new to JMeter and trying to record a JMeter script on firefox but getting an error message
Did Not Connect: Potential Security Issue
First make sure you have followed all the steps below and especially the browser side configuration:
https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html
If your site is HTTPS, I would suggest you to use Blazemeter Plugin for Chrome to record your tests without much hassles and then export it later into Jmeter.
1.Try to add the link to trusted sites.
-In Firefox go to the Open Menu (Upper right 3 lines)
-Locate and select the “Security” tab.
-Click on the “Exceptions…” button.
Next type in the internet address you would like to remain trusted EX:
*.test.com
-Click “Close” then “OK” to complete this action.
Try recording with chrome.
I'm currently testing a website and prepared a test case for the login page and in that test case, my last command (i.e. click) is always passed but the page is not loaded after the click on login button in automation testing, but when i click on login button manually it loads the page and homepage appears.
I tried the same with different commands i.e. clickAndWait/ clickAtAndWait/ waitforPageToLoad but it throws [error] Timed out.
I tried the commands with different timeouts i.e. 30000ms/ 60000ms/ 120000ms but it consistently throws [error] which results to Test case failed.
Please advise. Thank you
I am trying to record a scenario where, after login, user clicks on a button that takes user to a page which has graphical data.
But just after Login and on click of button, the page keeps on loading continuously, however, manually it responds very fast.
I have confirmed security exception.
In case of any unexpected behaviour the first place you should take a look at is jmeter.log file - it normally contains enough troubleshooting information to figure out the cause.
You can increase log verbosity for the HTTP(S) Test Script Recorder by adding the next line to user.properties file (located under JMeter's "bin" folder)
log_level.jmeter.protocol.http.proxy=DEBUG
JMeter restart will be required to pick the property up.
Few other tips:
Try clearing your browser history (including cache)
Re-install JMeter dummy certificate
If nothing helps - there is an alternative option of recording a JMeter test via JMeter Chrome Extension
I have for loop which takes about 30 minutes.so when run the browser's time out.I change max execution time in php.INI but give the same error.
I how I can do to change setting in Firefox?in order my script to run successfully.
For altering the connection time out in firefox
Open Firefox & type in ‘about:config’ in the address bar & press Enter.
Accept 'I'll be careful, I promise' button.
Search for network.http.connection-timeout and enter the value(in seconds)
I am running a JMeter script to hit a web page that opens another link to a shopping cart. There are a few different urls that JMeter recorded for me using the HTTP Script Recorder. When running the JMeter script, I receive no errors in any logs ( JMeter log and a few summary report / View results tree logs ). I even added a Constant Timer to some of the pages that do actually take a few seconds to load when hitting them manually in a web browser. In the end, I cannot see what is happening, but JMeter also does not indicate any errors. How can I confirm that each url hit is actually succeeding so that the shopping cart actually gives me my item when JMeter is done?
If JMeter is able to make a http request successfully, it will be always green in View Results Tree (200 http code). It does not mean that your test is correct - ie even if the login is not successful JMeter does not report it as error/failure unless you validate the response.
I think you need assertions to ensure that the http response you get is as you are expecting.