Package | Description |
---|---|
com.auxiliary.http |
Modifier and Type | Method and Description |
---|---|
static SearchType |
SearchType.typeText2Type(String type)
该方法用于将枚举文本转换为消息枚举
|
static SearchType |
SearchType.typeText2Type(String type,
Function<String,String> mapper)
该方法用于将枚举文本转换为消息枚举
|
static SearchType |
SearchType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchType[] |
SearchType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EasyResponse.assertResponse(String assertRegex,
SearchType searchType,
String paramName)
该方法用于对接口响应报文的指定部分内容进行断言
|
boolean |
EasyResponse.assertResponse(String assertRegex,
SearchType searchType,
String paramName,
String xpath)
该方法用于对接口响应报文的指定部分内容进行断言
|
boolean |
EasyResponse.assertResponse(String assertRegex,
SearchType searchType,
String leftBoundary,
String rightBoundary,
int index)
该方法用于对接口响应报文的指定部分内容进行断言
|
boolean |
EasyResponse.assertResponse(String assertRegex,
SearchType searchType,
String paramName,
String xpath,
String leftBoundary,
String rightBoundary,
int index)
该方法用于对接口响应报文的指定部分内容进行断言
|
String |
EasyResponse.extractKey(SearchType searchType,
String paramName)
该方法用于通过指定的搜索参数对接口响应报文指定内容进行提取,返回提取到的内容
|
String |
EasyResponse.extractKey(SearchType searchType,
String paramName,
String xpath)
该方法用于通过指定的搜索参数对接口响应报文指定内容进行提取,返回提取到的内容
|
String |
EasyResponse.extractKey(SearchType searchType,
String leftBoundary,
String rightBoundary,
int index)
该方法用于通过指定的边界条件对接口响应报文指定内容进行提取,返回提取到的内容
|
String |
EasyResponse.extractKey(SearchType searchType,
String paramName,
String xpath,
String leftBoundary,
String rightBoundary,
int index)
该方法用于通过指定的条件对接口响应报文指定内容进行提取,返回提取到的内容
|
Copyright © 2024. All rights reserved.