File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
cluster/src/test/scala/api/http/benchmark Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,24 @@ class FilingSimulation extends Simulation {
63
63
.header(" cfpb-hmda-institutions" , " ${institutionId}" )
64
64
.check(status is 200 )
65
65
.check(jsonPath(" $.status.code" ) is " 8" ))
66
+ .pause(5 )
67
+ .exec(http(" Validate Quality Edits" )
68
+ .post(" /institutions/${institutionId}/filings/2017/submissions/${submissionId}/edits/quality" )
69
+ .header(" cfpb-hmda-institutions" , " ${institutionId}" )
70
+ .body(StringBody (""" { "verified": true }""" )).asJSON
71
+ .check(status is 200 ))
72
+ .pause(1 )
73
+ .exec(http(" Validate Macro Edits" )
74
+ .post(" /institutions/${institutionId}/filings/2017/submissions/${submissionId}/edits/macro" )
75
+ .header(" cfpb-hmda-institutions" , " ${institutionId}" )
76
+ .body(StringBody (""" { "verified": true }""" )).asJSON
77
+ .check(status is 200 ))
78
+ .pause(1 )
79
+ .exec(http(" Get Summary" )
80
+ .get(" /institutions/${institutionId}/filings/2017/submissions/${submissionId}/summary" )
81
+ .header(" cfpb-hmda-institutions" , " ${institutionId}" )
82
+ .check(status is 200 )
83
+ .check(jsonPath(" $.file.totalLARS" ) is " 164" ))
66
84
67
85
}
68
86
You can’t perform that action at this time.
0 commit comments