Closed RajathTester closed 4 years ago
hi @namvuCosmo can you please help. I am stuck here any help would be of great value.
Thanks in advance.
Hi,
Can you please provide the steps to reproduce your issue, on how your grid is setup and how your test is launched?
Is KITEServer something you created or something you got from somewhere? Normal run with KITE-Engine shouldn't involve this.
Also, "filename": "/IVSAVideoV02",
shouldn't have /
at the beginning.
Hi @namvuCosmo ,
I am trying to run KiteTest case on a platform developed internally in our company using openvdi.
Steps:
regarding KiteServer, i have not taken it from any where. I simplify install regular KITE2.0 by following the steps mentioned in https://github.com/webrtc/KITE. Although i was able to run testcases properly with fake video in chrome browser, in firefox i am getting this issues.
Note: I have faced the similar issues when i was running some sample test on openvdi and jitsi platform mentioned in https://github.com/CoSMoSoftware/KITE-Sample-Tests
Below is the image of the cloned repository in my local machine.
Thanks in advance.
Hi,
regarding "/" in filename, if i donot give it it was not able to get the properly. so i started giving and it was working fine. At least in case of chrome browser that is what i have observerd.
Hi @namvuCosmo ,
i have going thorugh the code written in webDriverFactory inside the KITEFramework
` /**
Thanks in advance.
Oh, right. I remember this.
With firefox there''s no flags that we can use to set the fake media, we had to use some other web server on top of it.
Sorry but I don't think I have a solution for you to use fake media files with firefox right now.
thank you @namvuCosmo for the time and help.
Hi when trying to automate kite testcase with fake mp4 video for firefox client getting a 403 forbidden access error.
2020-07-15 19:17:29,857 INFO - kiteServerCommand => http://localhost:8080/KITEServer/command?id=null&ip=localhost&cmd=play%20D:/desktop/Progress/FakeVideos/IVSAVideoV02.mp4%20& 2020-07-15 19:17:30,533 ERROR - java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/KITEServer/command?id=null&ip=localhost&cmd=play%20D:/desktop/Progress/FakeVideos/IVSAVideoV02.mp4%20& at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at io.cosmosoftware.kite.util.TestUtils.kiteServerCommand(TestUtils.java:986) at org.webrtc.kite.WebDriverFactory.createWebDriver(WebDriverFactory.java:232) at org.webrtc.kite.config.client.Client.createWebDriver(Client.java:482) at org.webrtc.kite.tests.TestRunner.initClient(TestRunner.java:82) at org.webrtc.kite.tests.TestRunner.(TestRunner.java:71)
at org.webrtc.kite.tests.TestRunnerCreator.call(TestRunnerCreator.java:33)
at org.webrtc.kite.tests.TestRunnerCreator.call(TestRunnerCreator.java:12)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
any help would be highly appreciated. also attached clients configuration using inside json config file
"clients": [ { "browserName": "firefox", "platform": "localhost", "video": { "filename": "/IVSAVideoV02", "directory": "D:/desktop/Progress/FakeVideos", "type": "Video" } } ]