This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Embeddd expresion and CSV clarification | |
Background: | |
* def sorts = {ascOrDesc : '##(ascOrDesc)'} | |
* def getFields = {pageSize : '##(pageSize_Fields)',page :'##(page_Fields)',fields : '##(fields_Fields)'} | |
* def justType = [] | |
* def justStatus = [] | |
* def parameters = { name :'##(name)',maritalStatus :'##(maritalStatus)',justType: '#(justType)',justStatus:'#(justStatus)'} | |
* def requestJson = {getFields :'#(getFields)',parameters :'#(parameters)',sorts:'#(sorts)'} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: # https://stackoverflow.com/questions/60434512/how-to-construct-pojo-like-for-complex-request-structure-using-karate | |
Background: | |
* def sorts = {ascOrDesc : '##(ascOrDesc)'} | |
* def getFields = {pageSize : '##(pageSize_Fields)',page :'##(page_Fields)',fields : '##(fields_Fields)'} | |
* def justType = [] | |
* def justStatus = [] | |
* def parameters = { name :'##(name)',maritalStatus :'##(maritalStatus)',justType: '#(justType)',justStatus:'#(justStatus)'} | |
* def requestJson = {getFields :'#(getFields)',parameters :'#(parameters)',sorts:'#(sorts)'} | |