<commit_before>@ignore
Feature: re-usable feature to create a single cat

Scenario:

# just to demo that we have two special variables __loop and __arg
* match __arg == karate.get('kittens[' + __loop + ']')

Given url demoBaseUrl
And path 'cats'
And request { name: '#(name)' }
When method post
Then status 200<commit_msg>improved a demo example, noneed for karate.get, pure js would do<commit_after>@ignore
Feature: re-usable feature to create a single cat

Scenario:

# just to demo that we have two special variables __loop and __arg
# this is a useful way to refer to any list-like variables defined in the caller
# for example, you could load 2 different JSON arrays 'inputs' and 'outputs' 
# and refer to both in a data-driven test
* match __arg == kittens[__loop]

Given url demoBaseUrl
And path 'cats'
And request { name: '#(name)' }
When method post
Then status 200
{'fraction_non_alphanumeric': 0.07780320366132723, 'fraction_numerical': 0.008009153318077803, 'mean_word_length': 4.608974358974359, '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': '5830509', 'n_tokens_mistral': 268, 'n_tokens_neox': 255, 'n_words': 127}