Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

RDM-4217 - Create Case Data with document attachment in perftest env #16

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4bdc0bb
Added extra config parameters to simualate real user conditions duri…
Jul 26, 2018
27ce73d
Added extra config parameters to simualate real user conditions duri…
Jul 26, 2018
a3bd088
Added extra config parameters to simualate real user conditions duri…
Jul 30, 2018
6daf565
Merge branch 'master' of github.com:hmcts/ccd-test-performance
Jul 30, 2018
26ecfa1
Doc Store Performance Test added
Aug 14, 2018
15a4e77
Ignore mac files and results
Aug 14, 2018
7e87c7e
added ES endpoint tests
Oct 31, 2018
74f8a73
Amended ES scenarion
Nov 1, 2018
738cfc8
Align SPROD CCD Data
Mar 12, 2019
baaa325
Adding Probate Data Injection
Mar 22, 2019
5c83999
adding DIV & SSCS create case data
Mar 25, 2019
6de74a7
Adding updated config
Mar 25, 2019
c21ae2f
RDM-4217 Create Case Data with Document attached
Jun 11, 2019
491138f
Removing listofcases csv and SPROD, Sandbox environment configuration
Jun 12, 2019
caf42db
add gradle scripts
Jun 17, 2019
f78ff5c
Merge branch 'master' of https://github.com/hmcts/ccd-test-performanc…
Jun 17, 2019
94744e4
Merge branch 'master' of https://github.com/hmcts/ccd-test-performanc…
Jun 17, 2019
10bbf06
Merge branch 'master' of https://github.com/hmcts/ccd-test-performanc…
Jun 17, 2019
212dae4
Addressing giri's comments
Jun 19, 2019
3134fb5
Addressing reviewing comments from Giri - Moving Elastic Search test …
Jun 19, 2019
d007f60
Removing build folder
Jun 19, 2019
d77d02f
Removing .gradle folder
Jun 19, 2019
ea80273
Updated application.conf and removed the sensitive info
Jun 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ results/
src.zip
.DS_Store
/gatling.log
*.zip
.gradle/
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Thu Apr 11 15:34:33 BST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
Binary file added src/test/resources/1MB.pdf
Binary file not shown.
28 changes: 23 additions & 5 deletions src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ importSpreadsheet = "src/test/scala/uk/gov/hmcts/ccd/casedefinition/scenarios/fi

//dev default
userCcdId = "[email protected]"
userCcdPassword = "password"
userCcdPassword = "Monday123"
userImportId = "[email protected]"
userImportPassword = "password"
userProfileUrl = "https://case-user-profile-app.dev.ccd.reform.hmcts.net:4451"
Expand Down Expand Up @@ -58,7 +58,7 @@ localhost {
"1547820791714750", "1547036690988904", "1545234546871901", "1548253985508219", "1547200037389206"]
//getCaseUrl = "caseworkers/"${userCcdId}"/jurisdictions/PROBATE/case-types/GrantOfRepresentation/cases/:case_reference"
getCaseUrl = "internal/cases/:case_reference"
// getPaginationMetadataUrl = "caseworkers/"${userCcdId}"/jurisdictions/PROBATE/case-types/GrantOfRepresentation/cases/pagination_metadata?state=CaseCreated"
// getPaginationMetadataUrl = "caseworkers/"${userCcdId}"/jurisdictions/PROBATE/case-types/GrantOfRepresentation/cases/pagination_metadata?state=CaseCreated"
getPaginationMetadataUrl = "caseworkers/"${userCcdId}"/jurisdictions/PROBATE/case-types/GrantOfRepresentation/cases/pagination_metadata?state=CaseCreated&case.PersonLastName=unknown"
createCaseUrl = "caseworkers/"${userCcdId}"/jurisdictions/SSCS/case-types/Benefit/cases"
getUserProfileUrl = "caseworkers/538/profile"
Expand Down Expand Up @@ -245,19 +245,37 @@ cnp_perftest {
oAuth2clientSecret = "${IDAM_OAUTH2_CLIENT_SECRET}"

cases = ["1559642192860544"]
getCaseUrl = "internal/cases/:case_reference"
ccdCaseMgmtUrl = "https://ccd-case-management-web-perftest.service.core-compute-perftest.internal"
getCaseUrl = "aggregated/caseworkers/a2fe2e87-94f7-44a9-a272-5c413a4775c0/jurisdictions/AUTOTEST1/case-types/AAT/cases/1531212825013102"
getCaseUrlV2 = "internal/cases/1559642192860544"
createCaseUrl = "caseworkers/a2fe2e87-94f7-44a9-a272-5c413a4775c0/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
validateCaseUrl = "caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/cases"
getUserProfileUrl = "caseworkers/176475/profile"
getUserProfileUrl = "caseworkers/a2fe2e87-94f7-44a9-a272-5c413a4775c0/profile"
getUserProfileUrlV2 = "caseworkers/539560/profile"
searchCases = "aggregated/caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/cases?state=CaseCreated"
getPaginationMetadataUrl = "caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/cases/pagination_metadata?state=CaseCreated"
saveEventUrl = "caseworkers/176475/jurisdictions/AUTOTEST1/case-types/CASETYPE2/cases/1531207599597587/events"
searchInputDetails = "aggregated/caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/inputs"
workbasketInputDetails = "/aggregated/caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/work-basket-inputs"
getPrintableDocumentsForEvent = "caseworkers/176475/jurisdictions/AUTOTEST1/case-types/CASETYPE2/cases/1531207599597587/documents"
validateCaseDetails = "caseworkers/176475/jurisdictions/AUTOTEST1/case-types/AAT/validate"
docStoreBashURL = "https://dm-store-perftest.service.core-compute-perftest.internal"
ESSearch = "searchCases"
docStoreBashURL123 = "https://dm-store-perftest.service.core-compute-perftest.internal"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docStoreBashURL123? what does that means?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docStoreBashURL123 not needed. removed

docStoreBashURL = "https://gateway-ccd.perftest.platform.hmcts.net"
prodSSCSWorkBasket = "aggregated/caseworkers/560966/jurisdictions/SSCS/case-types/Benefit/cases?view=WORKBASKET&page=1&case.caseReference=test1234567"
prodSSCSPagination = "caseworkers/560966/jurisdictions/SSCS/case-types/Benefit/cases/pagination_metadata?case.caseReference=test123456"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

560966 used in multiple places. Duplication problem. Perhaps extract in a variable and reuse it?

prodDIVORCED8caseReference = "aggregated/caseworkers/560966/jurisdictions/DIVORCE/case-types/DIVORCE/cases?page=1&case.D8caseReference=EZ12D81234"
prodDIVORCED8caseReferencePagination = "caseworkers/560966/jurisdictions/DIVORCE/case-types/DIVORCE/cases/pagination_metadata?case.D8caseReference=EZ12D81234"
createCaseDIVUrl = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createCaseDIVUrl, createCaseSSCSUrl, createCaseCMCUrl... all duplicated. Needs sorting out

createCaseSSCSUrl = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createCaseCMCUrl = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createCaseProbateGrantApplicationUrl = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createCaseProbateCaveatApplicationUrl = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createIACaseAppURL = "caseworkers/81d4aa29-7ba2-4884-a5a4-e2a0211bfe7c/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createFPLCaseAppURL = "caseworkers/77a5a58b-4d17-43b1-8df4-5cccd6cb1472/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createFRCaseAppURL = "caseworkers/44d5d0eb-0739-49e6-8c5e-bd556ef633d2/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
createETHOSCaseAppURL = "caseworkers/b1d866d5-2e78-454a-b18a-95020d0bb603/jurisdictions/:jurisdictions_reference/case-types/:casetype_reference/cases"
saveEventETHOSUploadDocsUrl = "caseworkers/30b48b61-7abf-4747-9270-8e86f466c0d6/jurisdictions/PUBLICLAW/case-types/TRIB_MVP_3_TYPE_Manc/cases/1559571632599539/events"
}

cnp_saat {
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/listoffiles.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
filename
Copy link
Contributor

@mario-paniccia mario-paniccia Jun 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move these files into a subfolder tree called casesGenerator\documents

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like to keep test related static data files under resource folder. that's fine

1MB.pdf
9 changes: 3 additions & 6 deletions src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
</encoder>
</appender>

<!-- Uncomment for logging ALL HTTP request and responses -->
<logger name="io.gatling.http.ahc" level="TRACE" />
<logger name="io.gatling.http.response" level="TRACE" />
<!-- Uncomment for logging ONLY FAILED HTTP request and responses -->
<!--<logger name="io.gatling.http.ahc" level="DEBUG" />-->
<!--<logger name="io.gatling.http.response" level="DEBUG" />-->
<!-- uncomment and set to DEBUG to log all failing HTTP requests -->
<!-- uncomment and set to TRACE to log all HTTP requests -->
<logger name="io.gatling.http.engine.response" level="TRACE" />


<root level="WARN">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
package uk.gov.hmcts.ccd.corecasedata.scenarios

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import uk.gov.hmcts.ccd.util.{CcdTokenGenerator, PerformanceTestsConfig}
import scala.concurrent.duration._

object GetCaseDataV2 extends PerformanceTestsConfig {

private val getCaseUrl = caseDataUrl(config.getString("getCaseUrlV2"))
println("Retrieving case with base url: " + getCaseUrl)

def getCaseDataHttp() = {
val s2sToken = CcdTokenGenerator.generateGatewayS2SToken()
val userToken = CcdTokenGenerator.generateWebUserToken()
//val userToken = CcdTokenGenerator.generateWebUserToken(getCaseUrl)
//http("get case data")
http("TX01_CCD_GetCaseDataEndpoint_getcasedataV2")
.get(_ => url())
.header("ServiceAuthorization", s2sToken)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.header("Accept","application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-case-view.v2+json")
.header("Experimental","true")
.check(status in (200))
}

def url(): String = {
val result: String = if(!getCaseUrl.contains(":case_reference")) {
getCaseUrl
} else {
resolveGetCaseUrl()
}
// println("Retrieving case: " + result)
result
}

private def resolveGetCaseUrl(): String = {
getCaseUrl.replace(":case_reference", pickRandomReference().replaceAll("-", ""))
}

println("GetCaseData: Minimum think time " + MinThinkTime + " Maximum think time " + MaxThinkTime)
val GetCaseDataV2Scenarios = scenario("Get Case Data V2").during(TotalRunDuration minutes) {
exec(
getCaseDataHttp()
)
.pause(MinThinkTime seconds, MaxThinkTime seconds)
}

val waitForNextIteration = pace(MinWaitForNextIteration seconds, MaxWaitForNextIteration seconds)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package uk.gov.hmcts.ccd.corecasedata.scenarios

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import uk.gov.hmcts.ccd.util.{CcdTokenGenerator, PerformanceTestsConfig}

import scala.concurrent.duration._

object GetPrintableDocumentsForEvent extends PerformanceTestsConfig {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to GetCasePrintableDocuments

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


private val url: String = config.getString("caseDataUrl") + "/" + config.getString("getPrintableDocumentsForEvent")
Copy link
Contributor

@mario-paniccia mario-paniccia Jun 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename getPrintableDocumentsForEvent to getCasePrintableDocuments please. In other places in this file too

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

println("Retrieving getPrintableDocumentsForEvent URL : " + url)

def httpRequest() = {
val s2sToken = CcdTokenGenerator.generateGatewayS2SToken()
val userToken = CcdTokenGenerator.generateWebUserToken()
http("TX09_CCD_GetPrintableDocumentsForEvent_getDocumentsForEvent")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the meaning of TX09 ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's transaction name needed to identify timing for specific endpoint from gatling raw data

.get(url)
.header("ServiceAuthorization", s2sToken)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.check(status in (200))
}

println("WorkBasketInputDetails: Minimum think time " + MinThinkTime + " Maximum think time " + MaxThinkTime)

val getPrintableDocumentForEvents = scenario("Get Printable Document for Events").during(TotalRunDuration minutes) {
exec(httpRequest())
.pause(MinThinkTime seconds, MaxThinkTime seconds)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ object GetUserProfile extends PerformanceTestsConfig {
.header("ServiceAuthorization", s2sToken)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.header("Accept"," application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-case-view.v2+json")
.check(status in (200))
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package uk.gov.hmcts.ccd.corecasedata.scenarios

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import uk.gov.hmcts.ccd.util.{CcdTokenGenerator, PerformanceTestsConfig}

import scala.concurrent.duration._

object SearchInputDetails extends PerformanceTestsConfig {

private val url: String = config.getString("caseDataUrl") + "/" + config.getString("searchInputDetails")
println("Retrieving searchInputDetails URL : " + url)

def httpRequest() = {
val s2sToken = CcdTokenGenerator.generateGatewayS2SToken()
val userToken = CcdTokenGenerator.generateWebUserToken()
http("TX07_CCD_SearchInputDetails_searchInputDetails")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we call this CCD_SearchInputDetails_searchInputDetails. what is TX07 used for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TX01, TX02.....TXxx all are transactions name.

.get(url)
.header("ServiceAuthorization", s2sToken)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.check(status in (200))
}

println("SearchInputDetails: Minimum think time " + MinThinkTime + " Maximum think time " + MaxThinkTime)

val getSearchInputDetails = scenario("Search Input Details").during(TotalRunDuration minutes) {
exec(
httpRequest()
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you format better here please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

.pause(MinThinkTime seconds, MaxThinkTime seconds)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
package uk.gov.hmcts.ccd.corecasedata.scenarios

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import uk.gov.hmcts.ccd.util.{CcdTokenGenerator, PerformanceTestsConfig}

import scala.concurrent.duration._

object ValidateCaseDetails extends PerformanceTestsConfig {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All naming in this class is completely messed up. You're not Validating a case here, you are creating a case.
Class name wrong, urls names misleading
Please review carefully and fix

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and all looks OK to me
that's validateCaseDetails test and working perfectly fine.

Object name ValidateCaseDetails is also looking fine to me.


// val EventId = "applyForGrant"
val EventId = "CREATE"
val CreateCaseUrl = caseDataUrl(config.getString("validateCaseUrl"))
val CreateCaseTokenUrl = s"${CreateCaseUrl.replaceAll("cases", "")}event-triggers/$EventId/token"
println("create case url: " + CreateCaseUrl)
println("create case token url: " + CreateCaseTokenUrl)

private val url: String = config.getString("caseDataUrl") + "/" + config.getString("validateCaseDetails")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove :String
why using: config.getString("caseDataUrl") + "/"? you can use caseDataUrl(....
rename url to validateUrl

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed url to validateUrl but other syntax looks fine

println("Retrieving validateCaseDetails URL : " + url)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this mean? we don't retrieve urls

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amended. it's just printing URL as output.


val ReqPayload = StringBody("""
{
"data": {
"TextField": "First Page",
"NumberField": "123",
"YesOrNoField": "Yes",
"PhoneUKField": "02920001002",
"EmailField": "[email protected]"
},
"event": {
"id": "CREATE",
"summary": "",
"description": ""
},
"event_token": "${eventToken}",
"ignore_warning": false
}
""")


def validateCaseDatahttp() = {
val token = CcdTokenGenerator.generateGatewayS2SToken()
val userToken = CcdTokenGenerator.generateWebUserToken()
exec(
//http("get create case event token")
http("TX10_CCD_ValidateCaseDataEndpoint_validatecasedata_eventtoken")
.get(CreateCaseTokenUrl)
.header("ServiceAuthorization", token)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.check(status.is(200),jsonPath("$.token").saveAs("eventToken"))
).exec(
//http("create case data")
http("TX11_CCD_CCD_ValidateCaseDataEndpoint_validatecasedata")
.post(url)
.body(
ReqPayload).asJson
.header("ServiceAuthorization", token)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.check(status is 200)
)
}


println("ValidateCaseData: Minimum think time " + MinThinkTime + " Maximum think time " + MaxThinkTime)

val validateCaseData = scenario("Validate Case Data").during(TotalRunDuration minutes) {
exec(
validateCaseDatahttp()
)
.pause(MinThinkTime seconds, MaxThinkTime seconds)
}

val waitForNextIteration = pace(MinWaitForNextIteration seconds, MaxWaitForNextIteration seconds)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this var used anywhere? can't find any usage

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need pace?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this line.

}

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package uk.gov.hmcts.ccd.corecasedata.scenarios

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import uk.gov.hmcts.ccd.util.{CcdTokenGenerator, PerformanceTestsConfig}

import scala.concurrent.duration._

object WorkBasketInputDetails extends PerformanceTestsConfig {

private val url: String = config.getString("caseDataUrl") + "/" + config.getString("workbasketInputDetails")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicated code. Why don't you reuse use caseDataUrl( method provided by PerformanceTestsConfig?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not duplicate.
string concatenation to build URLs.

println("Retrieving workbasketInputDetails URL : " + url)

def httpRequest() = {
val s2sToken = CcdTokenGenerator.generateGatewayS2SToken()
val userToken = CcdTokenGenerator.generateWebUserToken()
http("TX08_CCD_WorkBasketInputDetails_workbasketInputDetails")
.get(url)
.header("ServiceAuthorization", s2sToken)
.header("Authorization", userToken)
.header("Content-Type","application/json")
.check(status in (200))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove not needed spaces please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not clear about this. remove what ?

Amended println text and reformatted code.

}

println("WorkBasketInputDetails: Minimum think time " + MinThinkTime + " Maximum think time " + MaxThinkTime)

val getWorkbasketInputDetails = scenario("Work Basket Input Details").during(TotalRunDuration minutes) {
exec(
httpRequest()
)
.pause(MinThinkTime seconds, MaxThinkTime seconds)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct formatting please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

}
}
Loading