There are many service to get all fo the ip address in bitcoin mainnet but I can't find the similar way to get all ip address in testnet.Is there a way to do it?
Different ways to get IP address of bitcoin nodes on testnet:
A DNS record for one of the domains used by DNS seeds:
testnet-seed.bitcoin.jonasschnelli.ch seed.tbtc.petertodd.org seed.testnet.bitcoin.sprovoost.nl testnet-seed.bluematt.me
I tried connecting to one of these nodes on port 18333 with
addnode to confirm and it works.
Run own test DNS seeder to crawl the network using https://github.com/sipa/bitcoin-seeder
Run your own bitcoin node, save IP address for peers, ban all for 1 hour, save IP address for new peers and repeat until you have enough addresses. You can get lot of addresses in few minutes: https://pastebin.com/raw/jxkEpgEq