cant get any response from <symbol>@depth and <symbol>@bookTicker in spot test net

I tried to subscribe spot market data

@Test
	public void positionTest() throws InterruptedException {
        ExchangeInfo exchangeInfo = BinanceClient.spotSyncClient.getExchangeInfo();
        String symbol = "btcusdt";
//        spotSubscription.onDepthEvent(symbol);
//        spotSubscription.symbolBookTickSubscription(symbol);
        spotSubscription.allBookTickSubscription(); 

but only the allBookTickSubscription works well, the other two onDepthEvent and symbolBookTickSubscription cant receive any information in test . and all the three work well in prd.

and the other code like that

//订阅现货最新价格
    public void symbolBookTickSubscription(String symbol){
        BinanceClient.spotSubsptClient.onBookTickerEvent(symbol,bookTickerEvent -> {
            HashMap map = new HashMap();
            map.put(BeanConstant.BEST_ASK_PRICE,bookTickerEvent.getAskPrice());
            map.put(BeanConstant.BEST_ASK_Qty,bookTickerEvent.getAskQuantity());
            map.put(BeanConstant.BEST_BID_PRICE,bookTickerEvent.getBidPrice());
            map.put(BeanConstant.BEST_BID_QTY,bookTickerEvent.getBidQuantity());
            MarketCache.spotTickerMap.put(bookTickerEvent.getSymbol(),map);

            logger.info("spot info:" + bookTickerEvent.toString());
//            logger.info(" spot info:"+MarketCache.spotTickerMap.get(symbol).get(BeanConstant.BEST_ASK_PRICE));
        });
    }

    public void onDepthEvent(String symbol){
        BinanceClient.spotSubsptClient.onDepthEvent(symbol,event->{
            System.out.println("depthEventP:"+event);
        });
    }




    //订阅现货最新价格
    public void allBookTickSubscription(){
        BinanceClient.spotSubsptClient.onAllBookTickersEvent(bookTickerEvent -> {
            HashMap map = new HashMap();
            map.put(BeanConstant.BEST_ASK_PRICE,bookTickerEvent.getAskPrice());
            map.put(BeanConstant.BEST_ASK_Qty,bookTickerEvent.getAskQuantity());
            map.put(BeanConstant.BEST_BID_PRICE,bookTickerEvent.getBidPrice());
            map.put(BeanConstant.BEST_BID_QTY,bookTickerEvent.getBidQuantity());
            MarketCache.spotTickerMap.put(bookTickerEvent.getSymbol(),map);

            String symbol = "BNBUSDT";
            if(MarketCache.spotTickerMap.containsKey(symbol)){
                logger.info(" spot price:"+MarketCache.spotTickerMap.get(symbol).get(BeanConstant.BEST_ASK_PRICE));
            }
        });
    }

FWIW, I do not get any updates to symbol@depth on testnet when I place limit orders.

BTCUSDT => btcusdt
and try again

yeah, I have already changed before but not work.

Below two lines work perfectly to me:

client.onBookTickerEvent("btcusdt",event -> {System.out.println(event);});
client.onDepthEvent("btcusdt",event -> {System.out.println(event);});

Do they work for you?

in test or prd?

PROD; TESTNET is lack of liquidity. You might need to use “bnbusdt”

changing computer and problem solved, maybe some network problem

Liquidity in testnet for BNBUSDT is also abysmal. Right now there are only 4 bids.
https://testnet.binance.vision/api/v1/depth?symbol=BNBUSDT&limit=1000