Contributions
Re: Can I test an href link that is returned from my GET within the same test?
Hi, am a new user to soapui pro and need some additional help with this so i appreciate your patience. Add a groovy script teststep- done Save the response URL in a testCase property using point and click in groovy script testStep - in my response on the outline tab iselect my hreflink and have choices to add to property or property test step. If i choose property, on basic tab my target step is Groovy script. Target path blank, source path auto populates For this piece below, i thought it went into groovy script but I am doubting it now because my endpoint looks like a comment (attached) testRunner.testCase.setPropertyValue( "urlendpoint", urlendpoint) Create a HTTP request and add this expansion in HTTP endpoint section ${#TestSuite#urlendpoint Thanks much8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes4CommentsRe: Can I test an href link that is returned from my GET within the same test?
I have added a groovy teststep. Sorry but this was a little confusing. "Save the response URL in a testCase property using point and click in groovy script testStep" From outline view, I right click on hreflink and transfer to property, with target step as groovy script? This below goes in Groovy script step? testRunner.testCase.setPropertyValue( "http://ds-domainproxy-500-dev.cloudhub.io:80/api/finance-company/8ac498b41548787001154daf7bcd0046", http://ds-domainproxy-500-dev.cloudhub.io:80/api/finance-company/8ac498b41548787001154daf7bcd0046) Thank you much8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes5CommentsCan I test an href link that is returned from my GET within the same test?
I have an api that returns data from our customer table, but in addition to these results for each record it returns href links (self, address, contacts, etc) which I run to drill deeper into a record. I have seen on message content assertion that I can only verify that the 'expected' link matches 'actual'. Is there a way to get the resulting hreflink, then have my test run that uriand assert that content? Thank you much for your time.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes7CommentsRe: DataGen for rest
I am confused on how to setup the datagen step. My apigets FINANCE COMPANY data and has columns like id, createdBy, createDate, lastModifiedBy, lastModificationDate, financeCompanyNumber, dbaName, legalName When Irun the api,I get an id of8ac498b41548787001154daf7bcd0046 for example that is coming from our db. I am supposed to create a datagen teststep and create properties that match my columns? Then use property expansion? Thanks8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes1Comment