Generated by TestNG with ReportNG at 21:18 PST on Saturday 06 February 2021
root@87f6aca6b6f2 / 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.789s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.035s
2021-02-06 21:33:13 |

2021-02-06 21:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:13 | ------------------------------------

2021-02-06 21:33:13 | [Mutex] waiting for: [configured:node:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:node-1ea91150-877e-4bc5-893e-cec1630ef143]

2021-02-06 21:33:13 | [Mutex] received everything.

2021-02-06 21:33:13 | [Mutex] isItemNotified: configured:node:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:node-1ea91150-877e-4bc5-893e-cec1630ef143 :: true

2021-02-06 21:33:14 | [Mutex] waiting for: [received:nodes:81758158-7334-4370-ad83-360eb630836b:localhost]

2021-02-06 21:33:14 | [Mutex] received everything.

2021-02-06 21:33:14 | [Mutex] isItemNotified: received:node:81758158-7334-4370-ad83-360eb630836b:localhost:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6 :: true

2021-02-06 21:33:14 | [Mutex] waiting for: [received:nodes:2c4b7d13-1176-4b5d-95a4-6d6378823973:localhost]

2021-02-06 21:33:14 | [Mutex] waiting for: [received:nodes:2c4b7d13-1176-4b5d-95a4-6d6378823973:localhost]

2021-02-06 21:33:14 | [Mutex] received everything.

2021-02-06 21:33:14 | [Mutex] isItemNotified: received:node:2c4b7d13-1176-4b5d-95a4-6d6378823973:localhost:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6 :: false

createNodes 1.391s
2021-02-06 21:33:11 |

2021-02-06 21:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:11 | ------------------------------------

2021-02-06 21:33:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</title></pubsub></data>

2021-02-06 21:33:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:33:12 | [Mutex] waiting for: [received:nodes:8f25bf1f-a710-40ea-b89b-080e6649f6d4:localhost]

2021-02-06 21:33:12 | [Mutex] received everything.

2021-02-06 21:33:12 | [Mutex] isItemNotified: received:node:8f25bf1f-a710-40ea-b89b-080e6649f6d4:localhost:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6 :: true

createSubnodes 1.024s
2021-02-06 21:33:12 |

2021-02-06 21:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:12 | ------------------------------------

2021-02-06 21:33:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ea91150-877e-4bc5-893e-cec1630ef143</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1ea91150-877e-4bc5-893e-cec1630ef143</title></pubsub></data>

2021-02-06 21:33:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:33:13 | [Mutex] waiting for: [received:nodes:3423d812-79e2-4f5c-a407-1156c85c027e:localhost]

2021-02-06 21:33:13 | [Mutex] received everything.

2021-02-06 21:33:13 | [Mutex] isItemNotified: received:node:3423d812-79e2-4f5c-a407-1156c85c027e:localhost:node-1ea91150-877e-4bc5-893e-cec1630ef143:Node 1ea91150-877e-4bc5-893e-cec1630ef143 :: true

deleteNodes 1.019s
2021-02-06 21:33:19 |

2021-02-06 21:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:19 | ------------------------------------

2021-02-06 21:33:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ea91150-877e-4bc5-893e-cec1630ef143</node></data>

2021-02-06 21:33:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:33:20 | [Mutex] waiting for: [received:nodes:f1c130ae-f077-4428-9a01-ff28330bf3a6:localhost]

2021-02-06 21:33:20 | [Mutex] received everything.

2021-02-06 21:33:20 | [Mutex] isItemNotified: received:node:f1c130ae-f077-4428-9a01-ff28330bf3a6:localhost:node-1ea91150-877e-4bc5-893e-cec1630ef143:Node 1ea91150-877e-4bc5-893e-cec1630ef143 :: false

deleteSubnodes 1.125s
2021-02-06 21:33:18 |

2021-02-06 21:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:18 | ------------------------------------

2021-02-06 21:33:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node></data>

2021-02-06 21:33:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:33:19 | [Mutex] waiting for: [received:nodes:a6efd723-bedb-4295-84e6-0add7cc0693e:localhost]

2021-02-06 21:33:19 | [Mutex] waiting for: [received:nodes:a6efd723-bedb-4295-84e6-0add7cc0693e:localhost]

2021-02-06 21:33:19 | [Mutex] received everything.

2021-02-06 21:33:19 | [Mutex] isItemNotified: received:node:a6efd723-bedb-4295-84e6-0add7cc0693e:localhost:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6 :: false

2021-02-06 21:33:19 | [Mutex] waiting for: [received:nodes:c2159049-9fb8-476a-9abb-e07b614e229a:localhost]

2021-02-06 21:33:19 | [Mutex] received everything.

2021-02-06 21:33:19 | [Mutex] isItemNotified: received:node:c2159049-9fb8-476a-9abb-e07b614e229a:localhost:node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6:Node 086c1b3b-5aa7-4e1d-8342-9b8c50955ad6 :: false

publishItemsToNodes 0.201s
2021-02-06 21:33:15 |

2021-02-06 21:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:15 | ------------------------------------

2021-02-06 21:33:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><item-id>item-e6f7df22-fd90-49ed-be41-6400ca63949e</item-id><entry><test>item-e6f7df22-fd90-49ed-be41-6400ca63949e</test></entry></data>

2021-02-06 21:33:16 | 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-e6f7df22-fd90-49ed-be41-6400ca63949e</value></item-id></result>

2021-02-06 21:33:16 | [Mutex] received everything.

2021-02-06 21:33:16 | [Mutex] isItemNotified: published:item:notifieditem-e6f7df22-fd90-49ed-be41-6400ca63949e:admin@test-domain.com :: true

retractItemsFromNodes 0.210s
2021-02-06 21:33:16 |

2021-02-06 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:16 | ------------------------------------

2021-02-06 21:33:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><item-id>item-e6f7df22-fd90-49ed-be41-6400ca63949e</item-id></data>

2021-02-06 21:33:16 | 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-e6f7df22-fd90-49ed-be41-6400ca63949e</value></item-id></result>

2021-02-06 21:33:16 | [Mutex] waiting for: [retracted:item:notifieditem-e6f7df22-fd90-49ed-be41-6400ca63949e:admin@test-domain.com]

2021-02-06 21:33:16 | [Mutex] received everything.

2021-02-06 21:33:16 | [Mutex] isItemNotified: retracted:item:notifieditem-e6f7df22-fd90-49ed-be41-6400ca63949e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.288s
2021-02-06 21:33:16 |

2021-02-06 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:16 | ------------------------------------

2021-02-06 21:33:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><item-id>item-e6f7df22-fd90-49ed-be41-6400ca63949e</item-id></data>

2021-02-06 21:33:16 | 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-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</value></node><item-id label="Item ID" type="text-single"><value>item-e6f7df22-fd90-49ed-be41-6400ca63949e</value></item-id><item label="Item" type="text-multi"><value><item id="item-e6f7df22-fd90-49ed-be41-6400ca63949e"><test>item-e6f7df22-fd90-49ed-be41-6400ca63949e</test></item></value></item></result>

2021-02-06 21:33:16 | [Mutex] notify: [retrieved:item:item-e6f7df22-fd90-49ed-be41-6400ca63949e:payload-matches:true:localhost]

2021-02-06 21:33:16 | [Mutex] received everything.

2021-02-06 21:33:16 | [Mutex] isItemNotified: retrieved:item:item-e6f7df22-fd90-49ed-be41-6400ca63949e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-02-06 21:33:16 |

2021-02-06 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:16 | ------------------------------------

2021-02-06 21:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-06 21:33:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</value><value>test</value><value>node-1ea91150-877e-4bc5-893e-cec1630ef143</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-02-06 21:33:16 |

2021-02-06 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:16 | ------------------------------------

2021-02-06 21:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6)</node-pattern></data>

2021-02-06 21:33:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.160s
2021-02-06 21:33:14 |

2021-02-06 21:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:14 | ------------------------------------

2021-02-06 21:33:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 21:33:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.257s
2021-02-06 21:33:16 |

2021-02-06 21:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:33:16 | ------------------------------------

2021-02-06 21:33:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-086c1b3b-5aa7-4e1d-8342-9b8c50955ad6</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 21:33:17 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>