Clinical trial search has been updated to use new URLs under '/research/participate/clinical-trials-search/. The clinical trial redirector still sends traffic to the old/about-cancer/treatment/clinical-trials/search` url structure and the user is redirected a second time by Akamai.
It would be better to go to the new URL structure directly.
ESTIMATE TBD
What's the expected change?
Trials which are not found in the Clinical Trials API should redirect to https://clinicaltrials.gov/study/NCT<ID>.
Additionally, the URL base for redirection should be moved to the web.config.
What's the current functionality?
Trials which are not found in the Clinical Trials API should redirect to https://clinicaltrials.gov/show/NCT<ID>
What's the updated acceptance criteria?
Scenario Trial in clinical trials API.
Given path 'clinicaltrials', 'NCT04916002'
When method get
Then status 302
And match header Location == '/research/participate/clinical-trials-search/v?id=NCT04916002&r=1'
Scenario Trial NOT found in clinical trials API.
Given path 'clinicaltrials', 'NCT05911152'
When method get
Then status 302
And match header Location == 'https://clinicaltrials.gov/study/NCT05911152'
The redirect should go directly to the target URL without any intermediary redirects.
Because the lower tier environments are behind the NIH firewall, this cannot be tested through a front end web site.
To test in the browser, use the F12 tools and the network tab to check the actual traffic.
Alternatively, use curl with the --verbose option.
Issue description
Clinical trial search has been updated to use new URLs under '/research/participate/clinical-trials-search/
. The clinical trial redirector still sends traffic to the old
/about-cancer/treatment/clinical-trials/search` url structure and the user is redirected a second time by Akamai.It would be better to go to the new URL structure directly.
What's the expected change?
https://clinicaltrials.gov/study/NCT<ID>
.What's the current functionality?
https://clinicaltrials.gov/show/NCT<ID>
What's the updated acceptance criteria?
The redirect should go directly to the target URL without any intermediary redirects.
Because the lower tier environments are behind the NIH firewall, this cannot be tested through a front end web site.
To test in the browser, use the F12 tools and the network tab to check the actual traffic.
Alternatively, use curl with the
--verbose
option.Additional details / screenshot
Related Tickets