# Module cloudi_core_i_runtime_testing

- Description
- Function Index
- Function Details

### CloudI Runtime Testing

Routines for live-service testing during development.

Copyright © 2013-2020 Michael Truog

Version: 2.0.1 Dec 3 2021 17:15:35 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CloudI Runtime Testing

Routines for live-service testing during development.

## Function Index

monkey_chaos_check/1 |
monkey_chaos_destroy/1 |
monkey_chaos_format/1 |
monkey_chaos_init/1 |
monkey_chaos_validate/1 |
monkey_latency_check/1 |
monkey_latency_format/1 |
monkey_latency_init/1 |
monkey_latency_validate/1 |

## Function Details

### monkey_chaos_check/1

`monkey_chaos_check(Monkey_chaos::#monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()}) -> #monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()}`

### monkey_chaos_destroy/1

`monkey_chaos_destroy(Monkey_chaos::#monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()} | false) -> ok`

### monkey_chaos_format/1

`monkey_chaos_format(Monkey_chaos::#monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()} | system | false) -> cloudi_service_api:service_options_monkey_chaos_options() | system | false`

### monkey_chaos_init/1

`monkey_chaos_init(Monkey_chaos::#monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()} | system) -> #monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()}`

### monkey_chaos_validate/1

`monkey_chaos_validate(Options::[{atom(), any()}] | system | false) -> {ok, #monkey_chaos{method = undefined | probability_request | probability_day, value1 = undefined | float(), pid = undefined | pid()} | system | false} | {error, {service_options_monkey_chaos_invalid, any()}}`

### monkey_latency_check/1

`monkey_latency_check(Monkey_latency::#monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()}) -> #monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()}`

### monkey_latency_format/1

`monkey_latency_format(Monkey_latency::#monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()} | system | false) -> cloudi_service_api:service_options_monkey_latency_options() | system | false`

### monkey_latency_init/1

`monkey_latency_init(Monkey_latency::#monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()} | system) -> #monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()}`

### monkey_latency_validate/1

`monkey_latency_validate(Options::[{atom(), any()}] | system | false) -> {ok, #monkey_latency{method = undefined | time_uniform | time_gaussian | time_absolute, value1 = undefined | non_neg_integer(), value2 = undefined | pos_integer() | float(), result1 = undefined | pos_integer(), pi2 = float()} | system | false} | {error, {service_options_monkey_latency_invalid, any()}}`

Generated by EDoc