All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.acceptance-test.resources.karate-config.js.mustache Maven / Gradle / Ivy

Go to download

Gradle plugin to create a clean application in Java that already works, It follows our best practices!

There is a newer version: 3.20.10
Show newest version
function fn() {
  const uuid = java.util.UUID.randomUUID();
  const config = {
    headers: {
      'Client-Id': '#{clientId}#',
      'Client-Secret': '#{clientSecret}#',
      'Message-Id': uuid,
      'Another-Header': 'value'
    },
    oasUrl: '{{packagePath}}/pet-store.yaml',
    urlBase: 'https://petstore3.swagger.io/api/v3'
  };

  karate.configure('connectTimeout', 2000);
  karate.configure('readTimeout', 2000);
  karate.configure('ssl', true);
  return config;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy