@herbert24 have made the clearance but it has not solved. However, the log occurs on both chrome and firefox
try installing the sdk
sdk gives a poor performance due to my pc specifications. So standalone gives a better performance
What happens when you delete the “work” folder under the standalone’s tomcat folder and try again?
Let me do it and find out
Have given several attempts on
Have given several attempts on this including restarting the pc but the log remains the same. I notice that this folder is recreated whenever the server is invoked ![]()
Have also tried to delete a folder named “log” under the standalone’s tomcat folder but similar logs are thrown. Could this be concerned with the Os, am running Mint Linux. Or download website for the server, I used the forge and also used the official OpenMRS download website at Download OpenMRS | OpenMRS. Tried version 2.10.0, 2.11.0 and also 2.3.1. Did re-extracting the set up and ran again
something within the standalone may be causing that redirect. please attach the logged ticket about this!
Alternatively you could be having a wrong url for one of your pages. please share your PR or code on github and i review your page urls
Here is the commit though the changes to the property file for this effect is not committed since its for local testing purposes. As far as I know, the property to set for running tests on any instance server is present in the test.property file for local testing which is located at ui-tests/src/test/resources/org/openmrs/uitestframework/test.properties for distro and at src/test/resources/org/openmrs/uitestframework/test.properties for openmrs-contrib-qaframework module. Changing the property attribute of webapp.url to point to the local instance of standalone should work well.
Here is my test.property file webapp.url attribute with modification to meet my requirement webapp.url=http://localhost:8084/openmrs-standalone.
@sharif seems to encounter a similar log sometimes, however from his experience restarting the server clears the log which is not the case on my side. @herbert24 have you ever encountered this with reference to standalone
When not using the standalone, what value did you supply to webapp.url?
webapp.url=https://demo.openmrs.org/openmrs when using the demo online server and webapp.url=https://qa-refapp.openmrs.org/openmrs when using the qa-demo online server. However, better performance with online instances can be achieved with a good internet connectivity.
BTW webapp.url=http://localhost:8080/openmrs for the local server installed by SDK works well though this instance seems to require better pc specifications to get the best performance out of it. I followed this wiki to address the performance issue But no change was observed
Can you pastebin the contents of your test config file?
webapp.url=http://localhost:8084/openmrs-standalone
login.username=admin
login.password=Admin123
webdriver=chrome
headless=false
webdriver.gecko.driver=firefoxdriver/linux/geckodriver
The port can change depending on what the server is running on But for this case its when standalone instance is running on port: 8084 and working well when invocked using http://localhost:8084/openmrs-standalone directly from the browser But fails when redirected from the test config file
Thanks @dkayiwa ,Sorry about this @kdaud , I had the same issue however it seems my ide which was eclipse used to break the weburl , however changing to iINTELLIJ IDEA made my life easy and so fur am able to simulate over the weburl , could you try it out and let us know if you were able to move on thanks
Though I donot think so, But could this imply standalone is configured to run with Intellij? Switching to another IDE may not be the ultimate solution to this. As @k.joseph mentioned “something within the standalone may be causing that redirect.”
There are 2 different things, @sharif’s issue with a messed up ide, he had error marks etc and issues with plugins, i suggested he tries out intellij if he’s not straight able to resolve those.
The issue about the standalone is different and although i haven’t looked into it have looked into logs, do you have a ticket for that already?
Logged at [RATEST-116] - OpenMRS Issues
Have given a shot on this and switched to Intellij IDE however, a similar log is observed when connecting to standalone instance. Connecting with the online servers through intellij works fine though very slow…
I gave a shot to delete the existing standalone and download a fresh one at the official website and installed again But the scenarios are the same. cc: @dkayiwa @k.joseph