You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can i create multiple cookies with a single file
i have to just merge this two file into one single file
to test it for both valid and invalid cookie
how can i achieve this
varfrisby=require('./lib/frisby');// Global setup for all testsfrisby.globalSetup({request: {headers:{'Accept': 'application/json, application/x-httpd-php','Cookie': 'authenticationToken=5363; activationID=1'}},timeout: (30*1000)});/** * Tests -> GET */frisby.create(' ').get('http://xyz/auto?limit=0').expectStatus(200).expectHeaderContains('content-type','application/json').expectJSON('status',{message: "SUCCESS",code: 1}).toss();
varfrisby=require('./lib/frisby');// Global setup for all testsfrisby.globalSetup({request: {headers:{'Accept': 'application/json, application/x-httpd-php','Cookie': 'authenticationToken=5363; activationID=11123fgf'}},timeout: (30*1000)});/** * Tests -> GET */frisby.create(' ').get('http://xyz/auto?limit=0').expectStatus(200).expectHeaderContains('content-type','application/json').expectJSON('status',{message: "DATABASE_ERROR",code: 2}).toss();
any answers please
The text was updated successfully, but these errors were encountered:
how can i create multiple cookies with a single file
i have to just merge this two file into one single file
to test it for both valid and invalid cookie
how can i achieve this
///first file
// valid cookie
////////valid_spec.js
//second file
// INVALID cookie
////////////// invalid_spec.js
any answers please
The text was updated successfully, but these errors were encountered: