Workflow and Source Panels
Response State Panel
Build a small response state from route and payload values.
Response State Panel
response_state_panel.c
#include <stdio.h>
int main(void) {
int route = ;
const char *status = "missing";
const char *payload = "no route";
if (route == 0) {
status = "ok";
payload = "checks green";
} else if (route == 1) {
status = "ok";
payload = "service ready";
}
printf("route=%d\n", route);
printf("status=%s\n", status);
printf("payload=%s:%s\n", status, payload);
return 0;
}
#include <stdio.h>
int main(void) {
int route = ;
const char *status = "missing";
const char *payload = "no route";
if (route == 0) {
status = "ok";
payload = "checks green";
} else if (route == 1) {
status = "ok";
payload = "service ready";
}
printf("route=%d\n", route);
printf("status=%s\n", status);
printf("payload=%s:%s\n", status, payload);
return 0;
}
#include <stdio.h>
int main(void) {
int route = ;
const char *status = "missing";
const char *payload = "no route";
if (route == 0) {
status = "ok";
payload = "checks green";
} else if (route == 1) {
status = "ok";
payload = "service ready";
}
printf("route=%d\n", route);
printf("status=%s\n", status);
printf("payload=%s:%s\n", status, payload);
return 0;
}
response state
Response state gives replay a clear before-and-after value for each branch.