### Is there an existing issue for this?

- [X] I have searched the existing issues and read the documentation

### Question

Using a websocket apigatewayv2 in localstack and i need to change the body of the request e.g. add the connectionid, which is something i can do with a HTTP integration on the AWS gateway, however when I try this with localstack i receive the following error "Unsupported integration type "HTTP" for Websocket API ID" and then prints the ID of the API, if this feature is not enabled then how should we test the actual API where the connectionId and other things are added to the request body

### Anything else?

_No response_
return run_safe(run, print_error=False, **kwargs)
def run_for_max_seconds(max_secs, _function, *args, **kwargs):
    """Run the given function for a maximum of `max_secs` seconds - continue running
    in a background thread if the function does not finish in time."""
    def _worker(*_args):
        try:
            fn_result = _function(*args, **kwargs)
        except Exception as e:
            fn_result = e
        fn_result = True if fn_result is None else fn_result
        q.put(fn_result)
        return fn_result
    start = now()
    q = Queue()
    start_worker_thread(_worker)
    for i in range(max_secs * 2):
        result = None
        try:
            result = q.get_nowait()
        except Exception:
            pass
        if result is not None:
            if isinstance(result, Exception):
                raise result
            return result
        if now() - start >= max_secs:
            return
        time.sleep(0.5)
def do_run(cmd: str, run_cmd: Callable, cache_duration_secs: float):