-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Problem/Opportunity
For the L3 test cases execution of components, stream files are required. The existing Python RAFT code only supported HTTP and SFTP protocols, which caused an error when attempting to download via HTTPS.
python RAFT used: 1.1.1
Steps to reproduce
Setup raft and execute the testcases
Expected Behavior
Should download the streams via HTTPS.
Actual Behavior
Got error as self.log.error("Unsupported URL [{}]", url)
Notes (Optional)
Observations:
While running the test using the default outboundClient.py, the streams failed to download over HTTPS due to an 'unsupported URL' error.
Solutions:
Added a condition to handle HTTPS URLs in outboundClient.py, ensuring they are processed using the downloadHTTP method
if url.startswith("https://") == True:
return self.__downloadHTTP__( url, filename )
While executing the test automatically downloading the stream into the workspace and then copying the stream from workspace directory to target directory of the device.