You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: integration_tests.rs
    path of file: ./repos/vector/src/sources/http_client
    
    the code of the file until where you have to start completion: //! Integration tests for http_client source.
//! The container configuration file is `docker-compose.http_client.yml`
//! It leverages a static file server ("dufs"), which serves the files in tests/data/http-client

use std::collections::HashMap;
use tokio::time::{Duration, Instant};

use crate::sources::util::http::HttpMethod;
use crate::{
    config::{ComponentKey, SourceConfig, SourceContext},
    http::Auth,
    serde::default_decoding,
    serde::default_framing_message_based,
    tls,
    tls::TlsConfig,
  
    
async fn collected_trace_native_json() {
    let events = run_compliance(HttpClientConfig {
        endpoint: format!("{}/traces/native.json", dufs_address()),
        interval: INTERVAL,
        timeout: TIMEOUT,
        query: HashMap::new(),
        decoding: DeserializerConfig::NativeJson(Default::default()),
        framing: default_framing_message_based(),
        headers: HashMap::new(),
        method: HttpMethod::Get,
        auth: None,
        tls: None,
        log_namespace: None,
    })
    .await;

    let trace = events[0].as_trace();
    assert_eq!(
        trace.as_map()[log_schema().source_type_key().unwrap().to_string().as_str()],
        HttpClientConfig::NAME.into()
    );
}