Load testing for PEN Registry APIs
- check out the source code, switch to
appfolder. - create the local.json file in
app/configfolder and populate these values based on the environment. - Make sure
NODE_ENVis set tolocal
{
"tokenUrl": "",
"clientID": "",
"clientSecret": "",
"studentURL": "",
"studentURL1": "",
"studentGenerator":{
"maxRecords": 1000,
"concurrency": 20
}
} - populate these secrets in the git hub repo and then go to here and click on Run workflow button.
TOKEN_URL: ${{ secrets.TOKEN_URL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
STUDENT_API_URL: ${{ secrets.STUDENT_API_URL }}
MAX_RECORDS_GENERATE_STUDENT: ${{ secrets.MAX_RECORDS_GENERATE_STUDENT }}
CONCURRENCY_GENERATE_STUDENT: ${{ secrets.CONCURRENCY_GENERATE_STUDENT }}