Generated by TestNG with ReportNG at 11:26 PDT on Thursday 27 August 2020
root@ac2fa7a1e1ad / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.878s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2020-08-27 11:42:08 |

2020-08-27 11:42:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:08 | ------------------------------------

2020-08-27 11:42:08 | [Mutex] waiting for: [configured:node:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:node-78a3aeb1-b184-44cb-8587-fb63d3eef330]

2020-08-27 11:42:08 | [Mutex] received everything.

2020-08-27 11:42:08 | [Mutex] isItemNotified: configured:node:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:node-78a3aeb1-b184-44cb-8587-fb63d3eef330 :: true

2020-08-27 11:42:09 | [Mutex] waiting for: [received:nodes:ee318b6b-e060-4fbd-9c89-c3f71a7d4629:localhost]

2020-08-27 11:42:09 | [Mutex] waiting for: [received:nodes:ee318b6b-e060-4fbd-9c89-c3f71a7d4629:localhost]

2020-08-27 11:42:09 | [Mutex] received everything.

2020-08-27 11:42:09 | [Mutex] isItemNotified: received:node:ee318b6b-e060-4fbd-9c89-c3f71a7d4629:localhost:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:Node fefcf7cb-29c4-4dd0-942e-a74a01be4433 :: true

2020-08-27 11:42:09 | [Mutex] waiting for: [received:nodes:7d643033-32b9-45f7-8005-99eb5959ff51:localhost]

2020-08-27 11:42:09 | [Mutex] received everything.

2020-08-27 11:42:09 | [Mutex] isItemNotified: received:node:7d643033-32b9-45f7-8005-99eb5959ff51:localhost:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:Node fefcf7cb-29c4-4dd0-942e-a74a01be4433 :: false

createNodes 1.439s
2020-08-27 11:42:06 |

2020-08-27 11:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:06 | ------------------------------------

2020-08-27 11:42:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fefcf7cb-29c4-4dd0-942e-a74a01be4433</title></pubsub></data>

2020-08-27 11:42:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 11:42:07 | [Mutex] waiting for: [received:nodes:654e704c-f578-4f56-a252-80bb0089cffd:localhost]

2020-08-27 11:42:07 | [Mutex] received everything.

2020-08-27 11:42:07 | [Mutex] isItemNotified: received:node:654e704c-f578-4f56-a252-80bb0089cffd:localhost:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:Node fefcf7cb-29c4-4dd0-942e-a74a01be4433 :: true

createSubnodes 1.032s
2020-08-27 11:42:07 |

2020-08-27 11:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:07 | ------------------------------------

2020-08-27 11:42:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-78a3aeb1-b184-44cb-8587-fb63d3eef330</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 78a3aeb1-b184-44cb-8587-fb63d3eef330</title></pubsub></data>

2020-08-27 11:42:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 11:42:08 | [Mutex] waiting for: [received:nodes:603b2d4e-736a-4173-ae7f-85fd7b44206a:localhost]

2020-08-27 11:42:08 | [Mutex] received everything.

2020-08-27 11:42:08 | [Mutex] isItemNotified: received:node:603b2d4e-736a-4173-ae7f-85fd7b44206a:localhost:node-78a3aeb1-b184-44cb-8587-fb63d3eef330:Node 78a3aeb1-b184-44cb-8587-fb63d3eef330 :: true

deleteNodes 1.024s
2020-08-27 11:42:13 |

2020-08-27 11:42:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:13 | ------------------------------------

2020-08-27 11:42:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-78a3aeb1-b184-44cb-8587-fb63d3eef330</node></data>

2020-08-27 11:42:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 11:42:14 | [Mutex] waiting for: [received:nodes:412c001e-0167-47e8-9445-f557147b3e50:localhost]

2020-08-27 11:42:15 | [Mutex] waiting for: [received:nodes:412c001e-0167-47e8-9445-f557147b3e50:localhost]

2020-08-27 11:42:15 | [Mutex] received everything.

2020-08-27 11:42:15 | [Mutex] isItemNotified: received:node:412c001e-0167-47e8-9445-f557147b3e50:localhost:node-78a3aeb1-b184-44cb-8587-fb63d3eef330:Node 78a3aeb1-b184-44cb-8587-fb63d3eef330 :: false

deleteSubnodes 1.103s
2020-08-27 11:42:12 |

2020-08-27 11:42:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:12 | ------------------------------------

2020-08-27 11:42:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node></data>

2020-08-27 11:42:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 11:42:13 | [Mutex] waiting for: [received:nodes:a70be3e4-07de-4377-a5c7-05c19f392418:localhost]

2020-08-27 11:42:13 | [Mutex] received everything.

2020-08-27 11:42:13 | [Mutex] isItemNotified: received:node:a70be3e4-07de-4377-a5c7-05c19f392418:localhost:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:Node fefcf7cb-29c4-4dd0-942e-a74a01be4433 :: false

2020-08-27 11:42:13 | [Mutex] waiting for: [received:nodes:0f52c5cf-567a-4f71-b422-e019beb8936d:localhost]

2020-08-27 11:42:13 | [Mutex] received everything.

2020-08-27 11:42:13 | [Mutex] isItemNotified: received:node:0f52c5cf-567a-4f71-b422-e019beb8936d:localhost:node-fefcf7cb-29c4-4dd0-942e-a74a01be4433:Node fefcf7cb-29c4-4dd0-942e-a74a01be4433 :: false

publishItemsToNodes 0.262s
2020-08-27 11:42:10 |

2020-08-27 11:42:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:10 | ------------------------------------

2020-08-27 11:42:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><item-id>item-272e21d6-775d-4a46-8844-49067aeca833</item-id><entry><test>item-272e21d6-775d-4a46-8844-49067aeca833</test></entry></data>

2020-08-27 11:42:11 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-272e21d6-775d-4a46-8844-49067aeca833</value></item-id></result>

2020-08-27 11:42:11 | [Mutex] waiting for: [published:item:notifieditem-272e21d6-775d-4a46-8844-49067aeca833:admin@test-domain.com]

2020-08-27 11:42:11 | [Mutex] received everything.

2020-08-27 11:42:11 | [Mutex] isItemNotified: published:item:notifieditem-272e21d6-775d-4a46-8844-49067aeca833:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2020-08-27 11:42:11 |

2020-08-27 11:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:11 | ------------------------------------

2020-08-27 11:42:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><item-id>item-272e21d6-775d-4a46-8844-49067aeca833</item-id></data>

2020-08-27 11:42:11 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-272e21d6-775d-4a46-8844-49067aeca833</value></item-id></result>

2020-08-27 11:42:11 | [Mutex] received everything.

2020-08-27 11:42:11 | [Mutex] isItemNotified: retracted:item:notifieditem-272e21d6-775d-4a46-8844-49067aeca833:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2020-08-27 11:42:11 |

2020-08-27 11:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:11 | ------------------------------------

2020-08-27 11:42:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><item-id>item-272e21d6-775d-4a46-8844-49067aeca833</item-id></data>

2020-08-27 11:42:11 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</value></node><item-id label="Item ID" type="text-single"><value>item-272e21d6-775d-4a46-8844-49067aeca833</value></item-id><item label="Item" type="text-multi"><value><item id="item-272e21d6-775d-4a46-8844-49067aeca833"><test>item-272e21d6-775d-4a46-8844-49067aeca833</test></item></value></item></result>

2020-08-27 11:42:11 | [Mutex] notify: [retrieved:item:item-272e21d6-775d-4a46-8844-49067aeca833:payload-matches:true:localhost]

2020-08-27 11:42:11 | [Mutex] received everything.

2020-08-27 11:42:11 | [Mutex] isItemNotified: retrieved:item:item-272e21d6-775d-4a46-8844-49067aeca833:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-08-27 11:42:11 |

2020-08-27 11:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:11 | ------------------------------------

2020-08-27 11:42:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-27 11:42:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-78a3aeb1-b184-44cb-8587-fb63d3eef330</value><value>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-08-27 11:42:11 |

2020-08-27 11:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:11 | ------------------------------------

2020-08-27 11:42:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fefcf7cb-29c4-4dd0-942e-a74a01be4433)</node-pattern></data>

2020-08-27 11:42:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.127s
2020-08-27 11:42:09 |

2020-08-27 11:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:09 | ------------------------------------

2020-08-27 11:42:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 11:42:09 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2020-08-27 11:42:11 |

2020-08-27 11:42:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 11:42:11 | ------------------------------------

2020-08-27 11:42:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fefcf7cb-29c4-4dd0-942e-a74a01be4433</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 11:42:11 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>