karate

Is it possible to execute performance test in Karate for WebUI Automation?

混江龙づ霸主 提交于 2020-11-29 10:14:28
问题 I am developing WebUI automation tests using Karate 0.9.5.RC5 and it is working wonderfully. Does anyone know how to execute performance testing in Karate for WebUI Automation tests? 回答1: That's great to hear and thanks for the feedback. To be honest, we have focused on API perf testing and UI functional test automation so far. Maybe you can help us by experimenting and sharing what you find. You must be aware of the Gatling integration for API performance testing. So we have some pieces of

Embedded expressions are not replaced in the JSONPATH filter

徘徊边缘 提交于 2020-11-29 10:03:58
问题 When i am passing the value of a string json filter is working fine. But when I am passing embedded expression in the JSONPATH it is not replacing actual value. Given url appServer +'/integration/rest/user'+'?page=0'+'&pageSize=10'+'&fieldList=first_name,last_name,id,username,last_login,active,date_created'+'&filter=user_type%20equals%20%27P%27%20'+'&getTotalRecordCount=true' And header X-CSRF-TOKEN = csrfToken * cookie JSESSIONID = jsessionid * print routevalue * cookie route = routevalue *

Karate UI - Running scenarios in parallel throws an error 'HttpHostConnectException: connect to localhost:9222'

风格不统一 提交于 2020-11-25 04:28:40
问题 I am trying to execute a feature with 3 scenarios in it using: Results results = Runner.parallel(tagQuery, featurePaths, null, new ArrayList<>(), 3, karateOutputPath); With @parallel=false works fine however when I removed, it fails with the following error: com.intuit.karate.exception.KarateException: test_input.feature:50 - driver config / start failed: org.apache.http.conn.HttpHostConnectException: Connect to localhost:9222 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed:

Karate UI - Running scenarios in parallel throws an error 'HttpHostConnectException: connect to localhost:9222'

本小妞迷上赌 提交于 2020-11-25 04:27:15
问题 I am trying to execute a feature with 3 scenarios in it using: Results results = Runner.parallel(tagQuery, featurePaths, null, new ArrayList<>(), 3, karateOutputPath); With @parallel=false works fine however when I removed, it fails with the following error: com.intuit.karate.exception.KarateException: test_input.feature:50 - driver config / start failed: org.apache.http.conn.HttpHostConnectException: Connect to localhost:9222 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: