<commit_before>Feature: multiple header management approaches

Background:

Given url demoBaseUrl
And path 'headers'
When method get
Then status 200

# even the responseCookies can be validated using 'match'
And match responseCookies.time contains { value: '#number' }

And def time = responseCookies.time.value
And def token = response

# note that the responseCookies will be auto-sent as cookies for all future requests

Scenario: configure function

    * configure headers = read('classpath:headers.js')

    Given path 'headers', token
    And param url = demoBaseUrl
    When method get
    Then status 200<commit_msg>fixed broken build in last commit<commit_after>Feature: multiple header management approaches

Background:

Given url demoBaseUrl
And path 'headers'
When method get
Then status 200

# even the responseCookies can be validated using 'match'
And match responseCookies.time contains { value: '#string' }

And def time = responseCookies.time.value
And def token = response

# note that the responseCookies will be auto-sent as cookies for all future requests

Scenario: configure function

    * configure headers = read('classpath:headers.js')

    Given path 'headers', token
    And param url = demoBaseUrl
    When method get
    Then status 200
{'fraction_non_alphanumeric': 0.05669291338582677, 'fraction_numerical': 0.009448818897637795, 'mean_word_length': 4.431623931623932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2887320', 'n_tokens_mistral': 350, 'n_tokens_neox': 321, 'n_words': 150}