Closed zurbergram closed 5 years ago
So it looks like on dev https://github.com/department-of-veterans-affairs/devops/blob/master/ansible/deployment/config/vets-api-server-vagov-dev.yml is missing adding this file But on staging it is adding it https://github.com/department-of-veterans-affairs/devops/blob/master/ansible/deployment/config/vets-api-server-vagov-staging.yml#L149
Status
UNRESOLVED
Severity Analysis
Estimate of how critical this bug is
sev 3
User Impact
Who is the user impacted by this problem? Affects ability to do load testing https://github.com/department-of-veterans-affairs/devops/tree/master/loadtest
How does this problem affect the user? Affects the pre-launch checklist for a product
Description
There seems to be an issue with the generation of cookies for authentication from the job http://jenkins.vfs.va.gov/job/rake_tasks/job/vets-api-load-test-sessions/ for use with load testing https://github.com/department-of-veterans-affairs/devops/blob/master/loadtest/education_benefits_claim_1995_stem/README.md
In the instructions for running load tests against vets-api endpoints it says to do the following
However these don't seem to generate valid
cookie_headers
ofapi_session
andvagov_session_staging
.To test this I went to https://staging.va.gov/education/apply-for-education-benefits/application/1995/applicant/information
api_session
andvagov_session_staging
cookies./sessions.json
from aboveHTTPError(u'401 Client Error: Unauthorized for url: https://staging-api.va.gov/v0/in_progress_forms/22-1995',)
Steps to Reproduce
follow instructions at https://github.com/department-of-veterans-affairs/devops/blob/master/loadtest/education_benefits_claim_1995_stem/README.md
Expected Results
This Jenkins task generates authenticated sessions.
Actual Results
This Jenkins task does not generate authenticated sessions.
Further Details
Add any of the following as available:
From CloudWatchLog Groupsdsva-vagov-staging/srv/vets-api/src/log/vets-api-server.logdeployment-vagov-staging-vets-api-server-20190729-143922-10.247.34.154
using values from http://jenkins.vfs.va.gov/job/rake_tasks/job/vets-api-load-test-sessions/17/console