Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Error code: WarehouseMobileDeviceRequestInputValidationError
Symptoms
When you're using the warehouse app task validation framework, the validator returns the following error message:
Unexpected difference between request and session data. Warehouse Mobile Devices XML protocol violated.REQUEST_XML_TAMPERING
Cause
The error occurs when the output of the last step that was successfully run in the test run doesn't match the recorded input for the next step. This situation can arise because the task validator doesn't use the output of a previous step as input for a successive step. Instead, it uses recorded XML as input for each step.
In most cases, the error occurs when you rerun a task, but the test requires some records that were modified or removed by a previous run of the same task.
Resolution
The warehouse app task validation test run isn't an idempotent operation but modifies the underlying data. Therefore, before you rerun a task, you might have to reset the relevant data.
- Review the output XML of the last successful test step to determine where your test run left off.
- Inspect your test, and make sure that all the required sales orders, transfer orders, work headers, and other records are still present and in the expected state.
- Re-create or edit the missing or modified records. Alternatively, create a new test setup, and design the test to use valid existing records.