Generated by TestNG with ReportNG at 21:21 PST on Monday 18 January 2021
root@eaa73862192b / 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.906s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2021-01-18 21:38:15 |

2021-01-18 21:38:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:15 | ------------------------------------

2021-01-18 21:38:15 | [Mutex] waiting for: [configured:node:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:node-4cc5c87e-7c70-461f-890d-f18969154bc3]

2021-01-18 21:38:15 | [Mutex] received everything.

2021-01-18 21:38:15 | [Mutex] isItemNotified: configured:node:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:node-4cc5c87e-7c70-461f-890d-f18969154bc3 :: true

2021-01-18 21:38:16 | [Mutex] waiting for: [received:nodes:63168ec2-5176-4e56-8d4c-994250b45ebe:localhost]

2021-01-18 21:38:16 | [Mutex] received everything.

2021-01-18 21:38:16 | [Mutex] isItemNotified: received:node:63168ec2-5176-4e56-8d4c-994250b45ebe:localhost:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7 :: true

2021-01-18 21:38:17 | [Mutex] waiting for: [received:nodes:a6424ec6-18d1-45d3-9701-ed847d19ecce:localhost]

2021-01-18 21:38:17 | [Mutex] received everything.

2021-01-18 21:38:17 | [Mutex] isItemNotified: received:node:a6424ec6-18d1-45d3-9701-ed847d19ecce:localhost:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7 :: false

createNodes 1.511s
2021-01-18 21:38:13 |

2021-01-18 21:38:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:13 | ------------------------------------

2021-01-18 21:38:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7</title></pubsub></data>

2021-01-18 21:38:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:14 | [Mutex] waiting for: [received:nodes:f1a679e1-9fe2-49ea-a00c-88b6de413074:localhost]

2021-01-18 21:38:14 | [Mutex] received everything.

2021-01-18 21:38:14 | [Mutex] isItemNotified: received:node:f1a679e1-9fe2-49ea-a00c-88b6de413074:localhost:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7 :: true

createSubnodes 1.028s
2021-01-18 21:38:14 |

2021-01-18 21:38:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:14 | ------------------------------------

2021-01-18 21:38:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4cc5c87e-7c70-461f-890d-f18969154bc3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4cc5c87e-7c70-461f-890d-f18969154bc3</title></pubsub></data>

2021-01-18 21:38:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:15 | [Mutex] waiting for: [received:nodes:a77fbfcc-70c9-4376-84c2-285c11e2800c:localhost]

2021-01-18 21:38:15 | [Mutex] received everything.

2021-01-18 21:38:15 | [Mutex] isItemNotified: received:node:a77fbfcc-70c9-4376-84c2-285c11e2800c:localhost:node-4cc5c87e-7c70-461f-890d-f18969154bc3:Node 4cc5c87e-7c70-461f-890d-f18969154bc3 :: true

deleteNodes 1.020s
2021-01-18 21:38:21 |

2021-01-18 21:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:21 | ------------------------------------

2021-01-18 21:38:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4cc5c87e-7c70-461f-890d-f18969154bc3</node></data>

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

2021-01-18 21:38:22 | [Mutex] waiting for: [received:nodes:50c9ee89-e971-438f-8fb7-f1ede5a8fcfe:localhost]

2021-01-18 21:38:22 | [Mutex] waiting for: [received:nodes:50c9ee89-e971-438f-8fb7-f1ede5a8fcfe:localhost]

2021-01-18 21:38:22 | [Mutex] received everything.

2021-01-18 21:38:22 | [Mutex] isItemNotified: received:node:50c9ee89-e971-438f-8fb7-f1ede5a8fcfe:localhost:node-4cc5c87e-7c70-461f-890d-f18969154bc3:Node 4cc5c87e-7c70-461f-890d-f18969154bc3 :: false

deleteSubnodes 1.143s
2021-01-18 21:38:20 |

2021-01-18 21:38:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:20 | ------------------------------------

2021-01-18 21:38:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node></data>

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

2021-01-18 21:38:21 | [Mutex] waiting for: [received:nodes:b15f33aa-6f12-49c7-ac81-10f5f0f43946:localhost]

2021-01-18 21:38:21 | [Mutex] received everything.

2021-01-18 21:38:21 | [Mutex] isItemNotified: received:node:b15f33aa-6f12-49c7-ac81-10f5f0f43946:localhost:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7 :: false

2021-01-18 21:38:21 | [Mutex] waiting for: [received:nodes:a9ab8e7f-797d-4707-ba22-1458e7c6a0c4:localhost]

2021-01-18 21:38:21 | [Mutex] received everything.

2021-01-18 21:38:21 | [Mutex] isItemNotified: received:node:a9ab8e7f-797d-4707-ba22-1458e7c6a0c4:localhost:node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7:Node 07b2c71e-eba6-4c44-bdc0-fac09d222ed7 :: false

publishItemsToNodes 0.190s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

2021-01-18 21:38:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><item-id>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</item-id><entry><test>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</test></entry></data>

2021-01-18 21:38:18 | 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-78c115dd-f98e-4e1a-95b9-234ac09267ce</value></item-id></result>

2021-01-18 21:38:18 | [Mutex] received everything.

2021-01-18 21:38:18 | [Mutex] isItemNotified: published:item:notifieditem-78c115dd-f98e-4e1a-95b9-234ac09267ce:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

2021-01-18 21:38:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><item-id>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</item-id></data>

2021-01-18 21:38:18 | 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-78c115dd-f98e-4e1a-95b9-234ac09267ce</value></item-id></result>

2021-01-18 21:38:18 | [Mutex] received everything.

2021-01-18 21:38:18 | [Mutex] isItemNotified: retracted:item:notifieditem-78c115dd-f98e-4e1a-95b9-234ac09267ce:admin@test-domain.com :: true

retrieveItemsFromNodes 0.303s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

2021-01-18 21:38:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><item-id>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</item-id></data>

2021-01-18 21:38:18 | 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-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</value></node><item-id label="Item ID" type="text-single"><value>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</value></item-id><item label="Item" type="text-multi"><value><item id="item-78c115dd-f98e-4e1a-95b9-234ac09267ce"><test>item-78c115dd-f98e-4e1a-95b9-234ac09267ce</test></item></value></item></result>

2021-01-18 21:38:18 | [Mutex] notify: [retrieved:item:item-78c115dd-f98e-4e1a-95b9-234ac09267ce:payload-matches:true:localhost]

2021-01-18 21:38:18 | [Mutex] received everything.

2021-01-18 21:38:18 | [Mutex] isItemNotified: retrieved:item:item-78c115dd-f98e-4e1a-95b9-234ac09267ce:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

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

2021-01-18 21:38:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4cc5c87e-7c70-461f-890d-f18969154bc3</value><value>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

2021-01-18 21:38:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7)</node-pattern></data>

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

subscribeNodes 1.114s
2021-01-18 21:38:17 |

2021-01-18 21:38:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:17 | ------------------------------------

2021-01-18 21:38:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-18 21:38:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.271s
2021-01-18 21:38:18 |

2021-01-18 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:18 | ------------------------------------

2021-01-18 21:38:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-07b2c71e-eba6-4c44-bdc0-fac09d222ed7</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-18 21:38:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>