Generated by TestNG with ReportNG at 22:13 PDT on Friday 11 September 2020
root@7fc44405bb09 / 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.827s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2020-09-11 22:29:10 |

2020-09-11 22:29:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:10 | ------------------------------------

2020-09-11 22:29:10 | [Mutex] waiting for: [configured:node:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:node-90224576-eea3-4d46-b1cc-6acbcf4a84ad]

2020-09-11 22:29:10 | [Mutex] received everything.

2020-09-11 22:29:10 | [Mutex] isItemNotified: configured:node:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:node-90224576-eea3-4d46-b1cc-6acbcf4a84ad :: true

2020-09-11 22:29:11 | [Mutex] waiting for: [received:nodes:93c24bd9-eac5-400c-94e2-6e756d090278:localhost]

2020-09-11 22:29:11 | [Mutex] received everything.

2020-09-11 22:29:11 | [Mutex] isItemNotified: received:node:93c24bd9-eac5-400c-94e2-6e756d090278:localhost:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a :: true

2020-09-11 22:29:11 | [Mutex] waiting for: [received:nodes:4d979b6f-75c8-4f30-ae2a-072b981e2dc9:localhost]

2020-09-11 22:29:11 | [Mutex] received everything.

2020-09-11 22:29:11 | [Mutex] isItemNotified: received:node:4d979b6f-75c8-4f30-ae2a-072b981e2dc9:localhost:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a :: false

createNodes 1.512s
2020-09-11 22:29:08 |

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

2020-09-11 22:29:08 | ------------------------------------

2020-09-11 22:29:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a</title></pubsub></data>

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

2020-09-11 22:29:09 | [Mutex] waiting for: [received:nodes:170f7209-2bdf-4f77-ba04-bb13beedfd3b:localhost]

2020-09-11 22:29:09 | [Mutex] received everything.

2020-09-11 22:29:09 | [Mutex] isItemNotified: received:node:170f7209-2bdf-4f77-ba04-bb13beedfd3b:localhost:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a :: true

createSubnodes 1.021s
2020-09-11 22:29:09 |

2020-09-11 22:29:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:09 | ------------------------------------

2020-09-11 22:29:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-90224576-eea3-4d46-b1cc-6acbcf4a84ad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 90224576-eea3-4d46-b1cc-6acbcf4a84ad</title></pubsub></data>

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

2020-09-11 22:29:10 | [Mutex] waiting for: [received:nodes:f3d9a388-21ce-4fa8-9c20-74e972c5837b:localhost]

2020-09-11 22:29:10 | [Mutex] received everything.

2020-09-11 22:29:10 | [Mutex] isItemNotified: received:node:f3d9a388-21ce-4fa8-9c20-74e972c5837b:localhost:node-90224576-eea3-4d46-b1cc-6acbcf4a84ad:Node 90224576-eea3-4d46-b1cc-6acbcf4a84ad :: true

deleteNodes 1.016s
2020-09-11 22:29:15 |

2020-09-11 22:29:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:15 | ------------------------------------

2020-09-11 22:29:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-90224576-eea3-4d46-b1cc-6acbcf4a84ad</node></data>

2020-09-11 22:29:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-11 22:29:16 | [Mutex] waiting for: [received:nodes:52cd8107-883b-434d-a624-5976b50a956d:localhost]

2020-09-11 22:29:16 | [Mutex] received everything.

2020-09-11 22:29:16 | [Mutex] isItemNotified: received:node:52cd8107-883b-434d-a624-5976b50a956d:localhost:node-90224576-eea3-4d46-b1cc-6acbcf4a84ad:Node 90224576-eea3-4d46-b1cc-6acbcf4a84ad :: false

deleteSubnodes 1.116s
2020-09-11 22:29:14 |

2020-09-11 22:29:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:14 | ------------------------------------

2020-09-11 22:29:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node></data>

2020-09-11 22:29:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-11 22:29:15 | [Mutex] waiting for: [received:nodes:6f15e238-0bef-4d48-b546-91afaadb29ef:localhost]

2020-09-11 22:29:15 | [Mutex] waiting for: [received:nodes:6f15e238-0bef-4d48-b546-91afaadb29ef:localhost]

2020-09-11 22:29:15 | [Mutex] received everything.

2020-09-11 22:29:15 | [Mutex] isItemNotified: received:node:6f15e238-0bef-4d48-b546-91afaadb29ef:localhost:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a :: false

2020-09-11 22:29:15 | [Mutex] waiting for: [received:nodes:ec024fc4-c0c0-4324-9733-d7b6937fe8c0:localhost]

2020-09-11 22:29:15 | [Mutex] received everything.

2020-09-11 22:29:15 | [Mutex] isItemNotified: received:node:ec024fc4-c0c0-4324-9733-d7b6937fe8c0:localhost:node-9ae325f3-70ed-4293-b3ca-edd81d59df9a:Node 9ae325f3-70ed-4293-b3ca-edd81d59df9a :: false

publishItemsToNodes 0.201s
2020-09-11 22:29:12 |

2020-09-11 22:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:12 | ------------------------------------

2020-09-11 22:29:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><item-id>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</item-id><entry><test>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</test></entry></data>

2020-09-11 22:29:13 | 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-7cb2b799-dc9f-4357-9e94-c9e134effa29</value></item-id></result>

2020-09-11 22:29:13 | [Mutex] received everything.

2020-09-11 22:29:13 | [Mutex] isItemNotified: published:item:notifieditem-7cb2b799-dc9f-4357-9e94-c9e134effa29:admin@test-domain.com :: true

retractItemsFromNodes 0.268s
2020-09-11 22:29:13 |

2020-09-11 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:13 | ------------------------------------

2020-09-11 22:29:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><item-id>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</item-id></data>

2020-09-11 22:29:13 | 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-7cb2b799-dc9f-4357-9e94-c9e134effa29</value></item-id></result>

2020-09-11 22:29:13 | [Mutex] received everything.

2020-09-11 22:29:13 | [Mutex] isItemNotified: retracted:item:notifieditem-7cb2b799-dc9f-4357-9e94-c9e134effa29:admin@test-domain.com :: true

retrieveItemsFromNodes 0.238s
2020-09-11 22:29:13 |

2020-09-11 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:13 | ------------------------------------

2020-09-11 22:29:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><item-id>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</item-id></data>

2020-09-11 22:29:13 | 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-9ae325f3-70ed-4293-b3ca-edd81d59df9a</value></node><item-id label="Item ID" type="text-single"><value>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</value></item-id><item label="Item" type="text-multi"><value><item id="item-7cb2b799-dc9f-4357-9e94-c9e134effa29"><test>item-7cb2b799-dc9f-4357-9e94-c9e134effa29</test></item></value></item></result>

2020-09-11 22:29:13 | [Mutex] notify: [retrieved:item:item-7cb2b799-dc9f-4357-9e94-c9e134effa29:payload-matches:true:localhost]

2020-09-11 22:29:13 | [Mutex] received everything.

2020-09-11 22:29:13 | [Mutex] isItemNotified: retrieved:item:item-7cb2b799-dc9f-4357-9e94-c9e134effa29:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-11 22:29:13 |

2020-09-11 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:13 | ------------------------------------

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

2020-09-11 22:29:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</value><value>test</value><value>node-90224576-eea3-4d46-b1cc-6acbcf4a84ad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-11 22:29:13 |

2020-09-11 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:13 | ------------------------------------

2020-09-11 22:29:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9ae325f3-70ed-4293-b3ca-edd81d59df9a)</node-pattern></data>

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

subscribeNodes 1.090s
2020-09-11 22:29:11 |

2020-09-11 22:29:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:11 | ------------------------------------

2020-09-11 22:29:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.184s
2020-09-11 22:29:13 |

2020-09-11 22:29:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:29:13 | ------------------------------------

2020-09-11 22:29:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9ae325f3-70ed-4293-b3ca-edd81d59df9a</node><jids><value>admin@test-domain.com</value></jids></data>

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