karatelabs / karate

Test Automation Made Simple
https://karatelabs.github.io/karate
MIT License
8.32k stars 1.95k forks source link

Not getting the proper response in karate framework. #2282

Closed santoshkuna closed 1 year ago

santoshkuna commented 1 year ago

Hi Peter, i am getting the response in postman but not in karate framework.Please find below details postman cURL code snippet curl --location --request POST 'https://inaspvd104463.in.db.com:8080/api/camunda/orchestrator/rest/dynamicServiceInvoke' --header 'Content-Type: application/json' --data-raw '{ "smartdocUIRequest": { "appContext": { "wfId": "SMARTDOC", "currentRoute": "DOCUMENT_MANAGEMENT", "action": "VIEW_DOC_MANAGEMENT", "transaction_type": "CB-OUT-PAY", "status": "All Docs", "from_date": "2020-02-19T18:30:00", "to_date": "2023-02-20T18:29:59" } } }'

response: { "responseStatus": "SUCCESS", "output": { "data": { "data": { "sdLinkedClientDocsMap": null, "sdClassifiedDocsExtractMap": null, "sdReviewDetailsMap": null, "smartdocIncomingDocsMap": null, "sdRdFailedEmailsMap": null, "sdBrmsAutoMatchExecMap": null, "sdDocTypesMap": null, "sdDBDICaseDetailsMap": null, "sdReportsConfigMap": null, "sdClientRegistrationMap": null, "sdUnlinkedAttachmentsMap": null, "smartdocIDMSRefMap": null, "sdUnlinkedDBDITransactionsMap": null, "sdPthAuditMap": null, "sdEvidenceDocsMap": null, "count": null, "sdDocMgmtMap": { "data": { "missed_cpty": 0, "in_progress": 0, "total_count": 753, "@metadata": { "dirty": true, "rootVersionContextID": "2064.340f2a94-0aa2-4367-815e-ca3fa01efcd9T", "shared": false, "invalid": false, "className": "sddoccount", "objectID": "f0445795-acd2-4057-8ed1-693504093a5d-561-1676975465680", "contentObject": false }, "completed": 502, "failed": 250 } }, "auditTrail": null, "listOfCrdsLovs": null, "sdAsoneClientDetailsMap": null, "sdDBDIRefferedBackCasesMap": null, "sdLinkedDBDITransactionsMap": null, "sdClassifiedDocsExtnMap": null, "sdIdmsPurposeCodesActionGridMap": null, "sdDocChecklistSelMap": null, "documentSearch": null, "sdPaymentExceptionMap": null, "sdIDMSPaymentDetailsMap": null, "sdDBDIExistingCasesMap": null, "sdMatchedDocPaymentsMap": null, "sdBrmsRuleExecMap": null, "sdLinkedAttachmentsMap": null, "sdCRDSRefMap": null, "smartDocDocumentCheckListMap": null, "sdIDMSPaymentsMap": null, "sdOtherClientDocsMap": null, "listOfValues": null, "sdDocMgmtGrid": null, "sdNonRegisteredEmailsMap": null, "sdValidationMessagesMap": null, "sdDocChecklistLOVMap": null, "sdClassifiedDocMap": null, "uiConfirmation": null, "sdIdmsPurposeCodesMap": null, "sdFixFailMap": null, "sdEmailMultiCrdsIdCptyMap": null, "sdTranMap": null, "sdIdmsPurposeCodesActionFormMap": null, "sdStaticPurposeCodesMap": null, "smartdocTranRework": null }, "serviceStatus": "end", "reset": false, "step": "End", "actions": null, "key": "@390" }, "status": "200" }, "eData": null }

but in karate report the response is below: image

@ptrthomas

ptrthomas commented 1 year ago

cannot replicate, please follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue