Merge branch 'master' of git.komect.net:DDOSAQ/phoenix_ddos_handle
This commit is contained in:
commit
67c6052b0f
|
@ -122,7 +122,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{
|
||||||
public void a2_getVersionNormalSeveralDeviceTest() throws Exception {
|
public void a2_getVersionNormalSeveralDeviceTest() throws Exception {
|
||||||
// 获取多个节点版本信息
|
// 获取多个节点版本信息
|
||||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
||||||
"\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}";
|
"\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}";
|
||||||
|
|
||||||
String ver = mockMvc.perform(MockMvcRequestBuilders
|
String ver = mockMvc.perform(MockMvcRequestBuilders
|
||||||
.post("/information/version")
|
.post("/information/version")
|
||||||
|
@ -303,7 +303,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{
|
||||||
@Test
|
@Test
|
||||||
public void b1_getDeviceInfoNormalOneExistDeviceTest() throws Exception {
|
public void b1_getDeviceInfoNormalOneExistDeviceTest() throws Exception {
|
||||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
||||||
"\"msgContent\":\"{\\\"id\\\":[\\\"242\\\"]}\"}";
|
"\"msgContent\":\"{\\\"id\\\":[\\\"1\\\"]}\"}";
|
||||||
String deviceInfo = mockMvc.perform(MockMvcRequestBuilders
|
String deviceInfo = mockMvc.perform(MockMvcRequestBuilders
|
||||||
.post("/information/deviceinfo")
|
.post("/information/deviceinfo")
|
||||||
.contentType(MediaType.APPLICATION_JSON)
|
.contentType(MediaType.APPLICATION_JSON)
|
||||||
|
@ -341,7 +341,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{
|
||||||
@Test
|
@Test
|
||||||
public void b2_getDeviceInfoNormalSeveralDeviceTest() throws Exception {
|
public void b2_getDeviceInfoNormalSeveralDeviceTest() throws Exception {
|
||||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
||||||
"\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}";
|
"\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}";
|
||||||
String deviceInfo = mockMvc.perform(MockMvcRequestBuilders
|
String deviceInfo = mockMvc.perform(MockMvcRequestBuilders
|
||||||
.post("/information/deviceinfo")
|
.post("/information/deviceinfo")
|
||||||
.contentType(MediaType.APPLICATION_JSON)
|
.contentType(MediaType.APPLICATION_JSON)
|
||||||
|
@ -522,7 +522,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{
|
||||||
@Test
|
@Test
|
||||||
public void c1_getLinkStatusNormalOneOnlineDeviceTest() throws Exception{
|
public void c1_getLinkStatusNormalOneOnlineDeviceTest() throws Exception{
|
||||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
||||||
"\"msgContent\":\"{\\\"id\\\":[\\\"242\\\"]}\"}";
|
"\"msgContent\":\"{\\\"id\\\":[\\\"1\\\"]}\"}";
|
||||||
String linkstatus = mockMvc.perform(MockMvcRequestBuilders
|
String linkstatus = mockMvc.perform(MockMvcRequestBuilders
|
||||||
.post("/information/linkstatus")
|
.post("/information/linkstatus")
|
||||||
.contentType(MediaType.APPLICATION_JSON)
|
.contentType(MediaType.APPLICATION_JSON)
|
||||||
|
@ -564,7 +564,7 @@ public class DeviceNodeInfoControllerQATest extends InitTestEnvironment{
|
||||||
@Test
|
@Test
|
||||||
public void c2_getLinkStatusNormalSeveralDeviceTest() throws Exception{
|
public void c2_getLinkStatusNormalSeveralDeviceTest() throws Exception{
|
||||||
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
String reqData = "{\"ver\":2,\"cryptoType\":0,\"timeStamp\":1587604310504," +
|
||||||
"\"msgContent\":\"{\\\"id\\\":[\\\"242\\\",\\\"123\\\"]}\"}";
|
"\"msgContent\":\"{\\\"id\\\":[\\\"1\\\",\\\"123\\\"]}\"}";
|
||||||
String linkstatus = mockMvc.perform(MockMvcRequestBuilders
|
String linkstatus = mockMvc.perform(MockMvcRequestBuilders
|
||||||
.post("/information/linkstatus")
|
.post("/information/linkstatus")
|
||||||
.contentType(MediaType.APPLICATION_JSON)
|
.contentType(MediaType.APPLICATION_JSON)
|
||||||
|
|
Loading…
Reference in New Issue