#include "../../../../src/libs/zbxsysinfo/common/http.h"
#define STR_TEST_TYPE "legacy"
#define STR_FIELD_OUT "out.req"
static const char *http_req;
int __wrap_zbx_tcp_connect(zbx_socket_t *s, const char *source_ip, const char *ip, unsigned short port,
int timeout, unsigned int tls_connect, const char *tls_arg1, const char *tls_arg2);
int __wrap_zbx_tcp_send_ext(zbx_socket_t *s, const char *data, size_t len, unsigned char flags, int timeout);
ssize_t __wrap_zbx_tcp_recv_raw_ext(zbx_socket_t *s, int timeout);
void __wrap_zbx_tcp_close(zbx_socket_t *s);
#define STR_TEST_TYPE "libcurl"
#define STR_FIELD_OUT "out.url"
static void *page_data = NULL;
static size_t (*cb_ptr)(void *ptr, size_t size, size_t nmemb, void *userdata);
static char *req_url = NULL;
CURL *__wrap_curl_easy_init(void);
CURLcode __wrap_curl_easy_setopt(CURL *easyhandle, int opt, void *val);
CURLcode __wrap_curl_easy_perform(CURL *easyhandle);
void __wrap_curl_easy_cleanup(CURL *easyhandle);
void zbx_mock_test_entry(void **state)
AGENT_RESULT param_result;
int expected_result, actual_result;