how to test ktor server with port and ip externall...
# ktor
c
how to test ktor server with port and ip externally and interactively? with breakpoints enabled for both servers? can be the same computer
servers or clients will crash when debugging step by step.
a
Can you give an example of such a test?
c
I don't have examples currently because I failed to test my program through android phone connections step by step. I am currently planning to test them through desktop servers with real ip and port. Instead of this test method:
Copy code
@Test
    fun testRoot() = testApplication {
        application {
        }
      }
which can not test servers interactions