Forum Discussion

krenevla's avatar
krenevla
Contributor
10 years ago

SoapUI cuts property value in HTTP request

Hi,

we need to send quite big JSON data as a part of HTTP request but SoapUI cuts it.
There is some limiatation in legth by design?

This seems to be way to large for SoapUi ... when sent from Eclipse, there is no problem. It's a value of property. In property itself, it's stored correctly.

[
{
"_assetNo": "10",
"_factoryId": "123458",
"_status": {
"type": 1,
"stringValue": "STORAGE"
},
"_measureConstant": 0,
"_has_measureConstant": true,
"_manufCode": "54321",
"_manufCodeType": "FLOW_METER",
"_manufCodeName": "Flow_Meter_12345",
"_deviceType": {
"type": 8,
"stringValue": "FLOW_METER"
},
"_parentType": {
"type": 1,
"stringValue": "METER"
},
"_manipulationType": {
"type": "2",
"stringValue": "REMOVE"
},
"_errandDataMiscInfoList": [
{
"_type": "PlannedControlInterval",
"_value": "Yearly",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "Owner",
"_value": "Vladicek",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PulseValueEndCustomerV",
"_value": "Vecko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "DismantleReason",
"_value": "ReasonLess",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "RegisterResolutionDisplay",
"_value": "Display",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "InterchangeableCommUnit",
"_value": "Yes",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConfigTool",
"_value": "Hammer",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "QP",
"_value": "QPcko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "IpAddress",
"_value": "10.14.41.39",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConnectionType",
"_value": "USB",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConnectionDimension",
"_value": "10",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "QI",
"_value": "QIcko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PrincipleOfFunction",
"_value": "Just for fun",
"_attributeValidatorList": []
},
{
"_type": "InstallDate",
"_value": "3.5.1983",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
}
]
},
{
"_type": "InterfaceToCommUnit",
"_value": "None",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConstructionLength",
"_value": "10m",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "WarrantExpireDate",
"_value": "20.10.2020",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PulseValueCommUnit",
"_value": "Pulse",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MeasureElementTempSensors",
"_value": "10",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
}
]
},
{
"_type": "CommInterfaceEndUser",
"_value": "User interface",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MeterType",
"_value": "Flodesmatare",
"_attributeValidatorList": []
},
{
"_type": "PowerSupply",
"_value": "Battery",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "BatteryDate",
"_value": "14.9.2001",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
}
]
},
{
"_assetNo": "101",
"_factoryId": "123458",
"_manufacturerNorm": null,
"_manufactureYear": "1970-01-01",
"_status": {
"type": "1",
"stringValue": "STORAGE"
},
"_owner": null,
"_measureConstant": 0,
"_has_measureConstant": true,
"_manufCode": "54321",
"_manufCodeType": "FLOW_METER",
"_manufCodeName": "Flow_Meter_12345",
"_startDate": "1970-01-01",
"_endDate": "1970-01-01",
"_deviceType": {
"type": 8,
"stringValue": "FLOW_METER"
},
"_parentType": {
"type": "1",
"stringValue": "METER"
},
"_parentId": "678",
"_manipulationType": {
"type": "0",
"stringValue": "ADD"
},
"_errandDataMiscInfoList": [
{
"_type": "PlannedControlInterval",
"_value": "Yearly",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "Owner",
"_value": "Vladicek",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PulseValueEndCustomerV",
"_value": "Vecko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "DismantleReason",
"_value": "ReasonLess",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "RegisterResolutionDisplay",
"_value": "Display",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "InterchangeableCommUnit",
"_value": "Yes",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConfigTool",
"_value": "Hammer",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "QP",
"_value": "QPcko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "IpAddress",
"_value": "10.14.41.39",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConnectionType",
"_value": "USB",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConnectionDimension",
"_value": "10",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "QI",
"_value": "QIcko",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PrincipleOfFunction",
"_value": "Just for fun",
"_attributeValidatorList": []
},
{
"_type": "InstallDate",
"_value": "3.5.1983",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
}
]
},
{
"_type": "InterfaceToCommUnit",
"_value": "None",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConstructionLength",
"_value": "10m",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "WarrantExpireDate",
"_value": "20.10.2020",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "PulseValueCommUnit",
"_value": "Pulse",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MeasureElementTempSensors",
"_value": "10",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
}
]
},
{
"_type": "CommInterfaceEndUser",
"_value": "User interface",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MeterType",
"_value": "Flodesmatare",
"_attributeValidatorList": []
},
{
"_type": "PowerSupply",
"_value": "Battery",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "BatteryDate",
"_value": "14.9.2001",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
}
]
},
{
"_assetNo": "80",
"_factoryId": "123459",
"_manufacturerNorm": null,
"_manufactureYear": "1970-01-01",
"_status": {
"type": "1",
"stringValue": "STORAGE"
},
"_owner": null,
"_measureConstant": 0,
"_has_measureConstant": true,
"_manufCode": "54321",
"_manufCodeType": "TEMPERATURE_SENSOR",
"_manufCodeName": "Temperature_sensor_12345",
"_startDate": "1970-01-01",
"_endDate": "1970-01-01",
"_deviceType": {
"type": 9,
"stringValue": "TEMPERATURE_SENSOR"
},
"_parentType": {
"type": "1",
"stringValue": "METER"
},
"_parentId": "678",
"_manipulationType": {
"type": "0",
"stringValue": "ADD"
},
"_errandDataMiscInfoList": [
{
"_type": "PoleNo",
"_value": "3",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
}
]
},
{
"_type": "WarrantyExpirationDate",
"_value": "20.2.2020",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "Owner",
"_value": "Vladicek",
"_attributeValidatorList": [
{
"type": 0,
"stringValue": "MANDATORY"
},
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "CableLength",
"_value": "18m",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MeasuringElement",
"_value": "Thermometer",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "DismantleReason",
"_value": "Malfunction",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "SensorBodyLength",
"_value": "25cm",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "MountingType",
"_value": "Glue",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
},
{
"_type": "ConnectionType",
"_value": "USB",
"_attributeValidatorList": [
{
"type": 1,
"stringValue": "READ_ONLY"
}
]
}
]
}
]

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    I believe the entire JSON is being sent from SoapUI Pro. I think what you are seeing is in the raw request tab the request is cutting off. To fix that go to File -> Preferences -> UI Settings, and increase "Size of RAW request message to show" to 1000000. Also, save your preferences File -> Save Preferences.


    Regards,
    Marcus
    SmartBear Support