1sample:
2  description: BSD Sockets API HTTP GET example
3  name: socket_http_get
4common:
5  filter: CONFIG_FULL_LIBC_SUPPORTED
6  depends_on: netif
7  min_ram: 32
8  min_flash: 80
9  tags:
10    - net
11    - socket
12tests:
13  sample.net.sockets.http_get:
14    filter: not CONFIG_NET_SOCKETS_OFFLOAD and not CONFIG_NATIVE_LIBC
15    harness: net
16    platform_exclude:
17      - cc3220sf_launchxl
18      - cc3235sf_launchxl
19    extra_configs:
20      - CONFIG_POSIX_API=y
21  sample.net.sockets.http_get.offload.simplelink:
22    platform_allow: cc3220sf_launchxl
23    harness: net
24    tags:
25      - net
26      - socket
27      - offload
28      - simplelink
29  sample.net.sockets.http_get.nsos.http:
30    harness: console
31    harness_config:
32      type: multi_line
33      ordered: true
34      regex:
35        - "(.*)<BODY>(.*)"
36        - "The document has moved"
37        - "(.*)</BODY>(.*)"
38    platform_allow:
39      - native_sim
40      - native_sim/native/64
41    extra_args: EXTRA_CONF_FILE="overlay-nsos.conf"
42  sample.net.sockets.http_get.nsos.https:
43    harness: console
44    harness_config:
45      type: multi_line
46      ordered: true
47      regex:
48        - "(.*)<BODY>(.*)"
49        - "The document has moved"
50        - "(.*)</BODY>(.*)"
51    platform_allow:
52      - native_sim
53      - native_sim/native/64
54    extra_args: EXTRA_CONF_FILE="overlay-nsos.conf;overlay-tls.conf"
55  sample.net.sockets.http_get.wifi.nrf70dk:
56    extra_args:
57      - SNIPPET=wifi-ipv4
58      - CONFIG_BUILD_ONLY_NO_BLOBS=y
59    platform_allow:
60      - nrf7002dk/nrf5340/cpuapp
61