url 生成无效字符常量错误
url generates invalid character constant error
使用空手道进行 API 测试:
我尝试在给定方法
中传递 url
获取无效字符常量错误:
给定 url 'http://localhost:8080'
和 header content-type = "application/json"
试试这个简单的例子:
Feature: sample karate script that calls a live www web-service
Background:
* url 'https://jsonplaceholder.typicode.com'
Scenario: test
Given path 'users'
When method get
Then status 200
使用空手道进行 API 测试:
我尝试在给定方法
获取无效字符常量错误:
给定 url 'http://localhost:8080'
和 header content-type = "application/json"
试试这个简单的例子:
Feature: sample karate script that calls a live www web-service
Background:
* url 'https://jsonplaceholder.typicode.com'
Scenario: test
Given path 'users'
When method get
Then status 200