update
This commit is contained in:
+16
-479
@@ -15,11 +15,11 @@
|
|||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
"url": "http://localhost:4300"
|
"url": "http://localhost:4700"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"name": "Authorize",
|
"name": "Authorize",
|
||||||
"description": "This feature will be used for authorizing customers.",
|
"description": "This feature will be used for authorizing customers.",
|
||||||
"externalDocs": {
|
"externalDocs": {
|
||||||
@@ -54,503 +54,40 @@
|
|||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"/Authorize": {
|
"/Authorize": {
|
||||||
"post": {
|
"$ref": "../swagger/paths/Authorize.json"
|
||||||
"tags": [
|
|
||||||
"Authorize"
|
|
||||||
],
|
|
||||||
"summary": "Authorize a user",
|
|
||||||
"description": "Authorize a user with credentials",
|
|
||||||
"operationId": "authorize",
|
|
||||||
"requestBody": {
|
|
||||||
"description": "User credentials",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/AuthorizeRequest"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "Successful operation",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/AuthorizeResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"400": {
|
|
||||||
"description": "Invalid request"
|
|
||||||
},
|
|
||||||
"401": {
|
|
||||||
"description": "Unauthorized"
|
|
||||||
},
|
|
||||||
"500": {
|
|
||||||
"description": "Internal server error"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"/AuthorizeRefresh": {
|
"/AuthorizeRefresh": {
|
||||||
"post": {
|
"$ref": "../swagger/paths/AuthorizeRefresh.json"
|
||||||
"tags": [
|
|
||||||
"AuthorizeRefresh"
|
|
||||||
],
|
|
||||||
"summary": "Refresh authorization token",
|
|
||||||
"description": "Refresh an expired authorization token",
|
|
||||||
"operationId": "authorizeRefresh",
|
|
||||||
"requestBody": {
|
|
||||||
"description": "Refresh token",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/AuthorizeRefreshRequest"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "Successful operation",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/AuthorizeRefreshResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"400": {
|
|
||||||
"description": "Invalid request"
|
|
||||||
},
|
|
||||||
"401": {
|
|
||||||
"description": "Unauthorized"
|
|
||||||
},
|
|
||||||
"500": {
|
|
||||||
"description": "Internal server error"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"/loans": {
|
"/loans": {
|
||||||
"get": {
|
"$ref": "../swagger/paths/Loans.json"
|
||||||
"tags": [
|
|
||||||
"Loans"
|
|
||||||
],
|
|
||||||
"summary": "Get all loans with optional filtering",
|
|
||||||
"description": "Retrieve loans with various filter options including customer ID, account ID, status, etc.",
|
|
||||||
"operationId": "getLoans",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "customer_id",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by customer ID",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "CUST123"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "account_id",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by account ID",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "ACC456"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "status",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by loan status",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "active"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "offer_id",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by offer ID",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "OFFER789"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "product_id",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by product ID",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "PROD101"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "start_date",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by start date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-01-01T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "end_date",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by end date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-12-31T23:59:59Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "due_before",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter loans due before this date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-12-31T23:59:59Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "due_after",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter loans due after this date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-01-01T00:00:00Z"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "Successful operation",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/LoansResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"400": {
|
|
||||||
"description": "Invalid request"
|
|
||||||
},
|
|
||||||
"500": {
|
|
||||||
"description": "Internal server error"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"/transactions": {
|
"/transactions": {
|
||||||
"get": {
|
"$ref": "../swagger/paths/Transactions.json"
|
||||||
"tags": [
|
|
||||||
"Transactions"
|
|
||||||
],
|
|
||||||
"summary": "Get all transactions with optional filtering",
|
|
||||||
"description": "Retrieve transactions with various filter options including account ID, type, channel, etc.",
|
|
||||||
"operationId": "getTransactions",
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "account_id",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by account ID",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "ACC456"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "type",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by transaction type",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "PAYMENT"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "channel",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by channel",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"example": "MOBILE"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "start_date",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by start date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-01-01T00:00:00Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "end_date",
|
|
||||||
"in": "query",
|
|
||||||
"description": "Filter by end date (ISO format)",
|
|
||||||
"required": false,
|
|
||||||
"schema": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
},
|
|
||||||
"example": "2023-12-31T23:59:59Z"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "Successful operation",
|
|
||||||
"content": {
|
|
||||||
"application/json": {
|
|
||||||
"schema": {
|
|
||||||
"$ref": "#/components/schemas/TransactionsResponse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"400": {
|
|
||||||
"description": "Invalid request"
|
|
||||||
},
|
|
||||||
"500": {
|
|
||||||
"description": "Internal server error"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
"schemas": {
|
"schemas": {
|
||||||
"ApiResponse": {
|
"ApiResponse": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/ApiResponse.json"
|
||||||
"properties": {
|
|
||||||
"code": {
|
|
||||||
"type": "integer",
|
|
||||||
"format": "int32"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"AuthorizeRequest": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"username": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "user123"
|
|
||||||
},
|
|
||||||
"password": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "password123"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["username", "password"]
|
|
||||||
},
|
},
|
||||||
"AuthorizeResponse": {
|
"AuthorizeResponse": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/AuthorizeResponse.json"
|
||||||
"properties": {
|
|
||||||
"access_token": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
|
||||||
},
|
|
||||||
"refresh_token": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
|
||||||
},
|
|
||||||
"token_type": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "bearer"
|
|
||||||
},
|
|
||||||
"expires_in": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 3600
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"AuthorizeRefreshRequest": {
|
"AuthorizeRequest": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/AuthorizeRequest.json"
|
||||||
"properties": {
|
|
||||||
"refresh_token": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["refresh_token"]
|
|
||||||
},
|
},
|
||||||
"AuthorizeRefreshResponse": {
|
"AuthorizeRefreshResponse": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/AuthorizeRefreshResponse.json"
|
||||||
"properties": {
|
},
|
||||||
"access_token": {
|
"AuthorizeRefreshRequest": {
|
||||||
"type": "string",
|
"$ref": "../swagger/schemas/AuthorizeRefreshRequest.json"
|
||||||
"example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
|
||||||
},
|
|
||||||
"token_type": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "bearer"
|
|
||||||
},
|
|
||||||
"expires_in": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 3600
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"LoansResponse": {
|
"LoansResponse": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/LoansResponse.json"
|
||||||
"properties": {
|
|
||||||
"loans": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 1
|
|
||||||
},
|
|
||||||
"customer_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "CUST123"
|
|
||||||
},
|
|
||||||
"account_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "ACC456"
|
|
||||||
},
|
|
||||||
"offer_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "OFFER789"
|
|
||||||
},
|
|
||||||
"initial_loan_amount": {
|
|
||||||
"type": "number",
|
|
||||||
"format": "float",
|
|
||||||
"example": 10000.0
|
|
||||||
},
|
|
||||||
"current_loan_amount": {
|
|
||||||
"type": "number",
|
|
||||||
"format": "float",
|
|
||||||
"example": 8500.0
|
|
||||||
},
|
|
||||||
"status": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "active"
|
|
||||||
},
|
|
||||||
"product_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "PROD101"
|
|
||||||
},
|
|
||||||
"default_penalty_fee": {
|
|
||||||
"type": "number",
|
|
||||||
"format": "float",
|
|
||||||
"example": 500.0
|
|
||||||
},
|
|
||||||
"continuous_fee": {
|
|
||||||
"type": "number",
|
|
||||||
"format": "float",
|
|
||||||
"example": 50.0
|
|
||||||
},
|
|
||||||
"due_date": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"example": "2023-12-31T23:59:59Z"
|
|
||||||
},
|
|
||||||
"created_at": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"example": "2023-01-15T10:30:00Z"
|
|
||||||
},
|
|
||||||
"updated_at": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"example": "2023-01-20T14:45:00Z"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"count": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"xml": {
|
|
||||||
"name": "LoansResponse"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"TransactionsResponse": {
|
"TransactionsResponse": {
|
||||||
"type": "object",
|
"$ref": "../swagger/schemas/TransactionsResponse.json"
|
||||||
"properties": {
|
|
||||||
"transactions": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 1
|
|
||||||
},
|
|
||||||
"transaction_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "TRX123456"
|
|
||||||
},
|
|
||||||
"account_id": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "ACC456"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "PAYMENT"
|
|
||||||
},
|
|
||||||
"channel": {
|
|
||||||
"type": "string",
|
|
||||||
"example": "MOBILE"
|
|
||||||
},
|
|
||||||
"created_at": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"example": "2023-01-15T10:30:00Z"
|
|
||||||
},
|
|
||||||
"updated_at": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time",
|
|
||||||
"example": "2023-01-15T10:30:00Z"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"count": {
|
|
||||||
"type": "integer",
|
|
||||||
"example": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"xml": {
|
|
||||||
"name": "TransactionsResponse"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"securitySchemes": {
|
"securitySchemes": {
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
|
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Digifi First Core API Test Plan" enabled="true">
|
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Digifi First Core API Test Plan">
|
||||||
<stringProp name="TestPlan.comments"></stringProp>
|
|
||||||
<boolProp name="TestPlan.functional_mode">false</boolProp>
|
|
||||||
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
|
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
|
||||||
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
|
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
|
||||||
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
|
|
||||||
<collectionProp name="Arguments.arguments"/>
|
<collectionProp name="Arguments.arguments"/>
|
||||||
</elementProp>
|
</elementProp>
|
||||||
<stringProp name="TestPlan.user_define_classpath"></stringProp>
|
|
||||||
</TestPlan>
|
</TestPlan>
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
|
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
|
||||||
@@ -75,7 +71,7 @@
|
|||||||
</elementProp>
|
</elementProp>
|
||||||
</ThreadGroup>
|
</ThreadGroup>
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Loans" enabled="true">
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Loans">
|
||||||
<stringProp name="HTTPSampler.path">/loans</stringProp>
|
<stringProp name="HTTPSampler.path">/loans</stringProp>
|
||||||
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
||||||
<stringProp name="HTTPSampler.method">GET</stringProp>
|
<stringProp name="HTTPSampler.method">GET</stringProp>
|
||||||
@@ -132,7 +128,7 @@
|
|||||||
</elementProp>
|
</elementProp>
|
||||||
</HTTPSamplerProxy>
|
</HTTPSamplerProxy>
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Code Assertion" enabled="true">
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Code Assertion">
|
||||||
<collectionProp name="Asserion.test_strings">
|
<collectionProp name="Asserion.test_strings">
|
||||||
<stringProp name="49586">200</stringProp>
|
<stringProp name="49586">200</stringProp>
|
||||||
</collectionProp>
|
</collectionProp>
|
||||||
@@ -142,7 +138,7 @@
|
|||||||
<intProp name="Assertion.test_type">8</intProp>
|
<intProp name="Assertion.test_type">8</intProp>
|
||||||
</ResponseAssertion>
|
</ResponseAssertion>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Path Assertion" enabled="true">
|
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Path Assertion">
|
||||||
<stringProp name="JSON_PATH">$.loans</stringProp>
|
<stringProp name="JSON_PATH">$.loans</stringProp>
|
||||||
<stringProp name="EXPECTED_VALUE"></stringProp>
|
<stringProp name="EXPECTED_VALUE"></stringProp>
|
||||||
<boolProp name="JSONVALIDATION">false</boolProp>
|
<boolProp name="JSONVALIDATION">false</boolProp>
|
||||||
@@ -152,7 +148,7 @@
|
|||||||
</JSONPathAssertion>
|
</JSONPathAssertion>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
</hashTree>
|
</hashTree>
|
||||||
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
|
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree">
|
||||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
||||||
<objProp>
|
<objProp>
|
||||||
<name>saveConfig</name>
|
<name>saveConfig</name>
|
||||||
@@ -189,7 +185,7 @@
|
|||||||
<stringProp name="filename"></stringProp>
|
<stringProp name="filename"></stringProp>
|
||||||
</ResultCollector>
|
</ResultCollector>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
|
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report">
|
||||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
||||||
<objProp>
|
<objProp>
|
||||||
<name>saveConfig</name>
|
<name>saveConfig</name>
|
||||||
@@ -227,7 +223,7 @@
|
|||||||
</ResultCollector>
|
</ResultCollector>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
</hashTree>
|
</hashTree>
|
||||||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Transaction Endpoint Test" enabled="true">
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Transaction Endpoint Test">
|
||||||
<intProp name="ThreadGroup.num_threads">10</intProp>
|
<intProp name="ThreadGroup.num_threads">10</intProp>
|
||||||
<intProp name="ThreadGroup.ramp_time">5</intProp>
|
<intProp name="ThreadGroup.ramp_time">5</intProp>
|
||||||
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
|
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
|
||||||
@@ -238,7 +234,7 @@
|
|||||||
</elementProp>
|
</elementProp>
|
||||||
</ThreadGroup>
|
</ThreadGroup>
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Transactions" enabled="true">
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get All Transactions">
|
||||||
<stringProp name="HTTPSampler.path">/transactions</stringProp>
|
<stringProp name="HTTPSampler.path">/transactions</stringProp>
|
||||||
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
||||||
<stringProp name="HTTPSampler.method">GET</stringProp>
|
<stringProp name="HTTPSampler.method">GET</stringProp>
|
||||||
@@ -249,7 +245,7 @@
|
|||||||
</elementProp>
|
</elementProp>
|
||||||
</HTTPSamplerProxy>
|
</HTTPSamplerProxy>
|
||||||
<hashTree>
|
<hashTree>
|
||||||
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Code Assertion" enabled="true">
|
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Code Assertion">
|
||||||
<collectionProp name="Asserion.test_strings">
|
<collectionProp name="Asserion.test_strings">
|
||||||
<stringProp name="49586">200</stringProp>
|
<stringProp name="49586">200</stringProp>
|
||||||
</collectionProp>
|
</collectionProp>
|
||||||
@@ -259,7 +255,7 @@
|
|||||||
<intProp name="Assertion.test_type">8</intProp>
|
<intProp name="Assertion.test_type">8</intProp>
|
||||||
</ResponseAssertion>
|
</ResponseAssertion>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Path Assertion" enabled="true">
|
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Path Assertion">
|
||||||
<stringProp name="JSON_PATH">$.transactions</stringProp>
|
<stringProp name="JSON_PATH">$.transactions</stringProp>
|
||||||
<stringProp name="EXPECTED_VALUE"></stringProp>
|
<stringProp name="EXPECTED_VALUE"></stringProp>
|
||||||
<boolProp name="JSONVALIDATION">false</boolProp>
|
<boolProp name="JSONVALIDATION">false</boolProp>
|
||||||
@@ -269,7 +265,7 @@
|
|||||||
</JSONPathAssertion>
|
</JSONPathAssertion>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
</hashTree>
|
</hashTree>
|
||||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Transactions with Filters" enabled="true">
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Transactions with Filters">
|
||||||
<stringProp name="HTTPSampler.path">/transactions</stringProp>
|
<stringProp name="HTTPSampler.path">/transactions</stringProp>
|
||||||
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
|
||||||
<stringProp name="HTTPSampler.method">GET</stringProp>
|
<stringProp name="HTTPSampler.method">GET</stringProp>
|
||||||
@@ -322,7 +318,7 @@
|
|||||||
</JSONPathAssertion>
|
</JSONPathAssertion>
|
||||||
<hashTree/>
|
<hashTree/>
|
||||||
</hashTree>
|
</hashTree>
|
||||||
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
|
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree">
|
||||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
||||||
<objProp>
|
<objProp>
|
||||||
<name>saveConfig</name>
|
<name>saveConfig</name>
|
||||||
|
|||||||
Reference in New Issue
Block a user