How can I add sample content in the Runner?


#1

How can I add sample content in the Runner?


#2

You can set multiple samples per types through runner.sample

runner: {  
   sample:{  
      text:{  
         'text sample 1':'some text here'
      },
      json:{  
         'my sample 1':[  
            '{',
            ' "audience": "https://my-tenant.auth0.com/api/v/",',
            ' "client": {',
            ' "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",',
            ' "name": "client-nam",',
            ' "tenant": "my-tenan",',
            ' "metadata": {',
            ' "plan": "full"',
            ' }',
            ' }',
            '}',

         ]         .join('\n'),
         'my sample 2':[  
            '{',
            ' "audience": "https://my-tenant.auth0.com/api/v/"',
            '}',

         ]         .join('\n'),

      }
   }
},

#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.