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

Correct exception message for error code 403 #64

Closed
miketran78727 opened this issue Sep 17, 2016 · 1 comment
Closed

Correct exception message for error code 403 #64

miketran78727 opened this issue Sep 17, 2016 · 1 comment

Comments

@miketran78727
Copy link
Contributor

miketran78727 commented Sep 17, 2016

In jMeter test automation, I encountered a failure where error codes 400 and 403 were returned for DM request. 403 means that pending active DM request is in progress for one or more devices. 400 means incorrect request format.

Currently, 400 and 403 are mapped to Unexpected error:

2016/09/16 20:54:06 ERROR - com.ibm.iotf.load.test.dm.GatewayDeviceActions: initiateAction Thread 10: failed to initiate device action firmware/download HTTP error code: 403 Reason: Unexpected error code

2016/09/16 21:35:12 ERROR - com.ibm.iotf.load.test.dm.GatewayDeviceActions: initiateAction Thread 5: failed to initiate device action device/factory_reset HTTP error code: 400 Reason: Unexpected error code Response: null

@miketran78727
Copy link
Contributor Author

@sathipal Could you please merge the pull request that fixes this issue? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant