JSON to JSON Comparison module
The JSON to JSON Comparison module allows you to compare large JSON files. No matter how complex are the files, the JSON to JSON comparison module takes hierarchies and array objects into account.
This module uses the following values:
|
Value |
Description |
Optional |
|---|---|---|
|
Source or Target->Local->Filename |
Enter the absolute path to your JSON source and target files. |
|
|
Row Key |
Enter a suitable row key to detect moved objects within arrays. The comparison finds the row key and compares all other properties within that object. Note that:
Tosca Cloud tries the row key on all objects within arrays during tests. In this example, the row key can be either city, country, or id: Copy
|
X |
|
Result |
A successful comparison returns the result Files match*. Enter this as the value and use the ActionMode Verify. This verifies the test against the result. If this comparison fails, so does your test. |
|