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
12  platform_exclude:
13    - native_posix
14    - native_posix/native/64
15tests:
16  sample.net.sockets.http_get:
17    filter: not CONFIG_NET_SOCKETS_OFFLOAD and not CONFIG_NATIVE_LIBC
18    harness: net
19    platform_exclude:
20      - cc3220sf_launchxl
21      - cc3235sf_launchxl
22    extra_configs:
23      - CONFIG_POSIX_API=y
24  sample.net.sockets.http_get.offload.simplelink:
25    platform_allow: cc3220sf_launchxl
26    harness: net
27    tags:
28      - net
29      - socket
30      - offload
31      - simplelink
32  sample.net.sockets.http_get.nsos.http:
33    harness: console
34    harness_config:
35      type: multi_line
36      ordered: true
37      regex:
38        - "(.*)<BODY>(.*)"
39        - "The document has moved"
40        - "(.*)</BODY>(.*)"
41    platform_allow:
42      - native_sim
43      - native_sim/native/64
44    extra_args: EXTRA_CONF_FILE="overlay-nsos.conf"
45  sample.net.sockets.http_get.nsos.https:
46    harness: console
47    harness_config:
48      type: multi_line
49      ordered: true
50      regex:
51        - "(.*)<BODY>(.*)"
52        - "The document has moved"
53        - "(.*)</BODY>(.*)"
54    platform_allow:
55      - native_sim
56      - native_sim/native/64
57    extra_args: EXTRA_CONF_FILE="overlay-nsos.conf;overlay-tls.conf"
58  sample.net.sockets.http_get.wifi.nrf70dk:
59    extra_args:
60      - SNIPPET=wifi-ipv4
61      - CONFIG_BUILD_ONLY_NO_BLOBS=y
62    platform_allow:
63      - nrf7002dk/nrf5340/cpuapp
64