Generated by TestNG with ReportNG at 08:22 PST on Tuesday 24 November 2020
root@43fec6d4badf / 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.892s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-11-24 08:36:58 |

2020-11-24 08:36:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:36:58 | ------------------------------------

2020-11-24 08:36:58 | [Mutex] waiting for: [configured:node:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:node-a428fe08-879a-437a-b1ad-46639a539720]

2020-11-24 08:36:58 | [Mutex] received everything.

2020-11-24 08:36:58 | [Mutex] isItemNotified: configured:node:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:node-a428fe08-879a-437a-b1ad-46639a539720 :: true

2020-11-24 08:36:59 | [Mutex] waiting for: [received:nodes:d4abf721-52b5-4ee8-af40-ae62f830e396:localhost]

2020-11-24 08:36:59 | [Mutex] waiting for: [received:nodes:d4abf721-52b5-4ee8-af40-ae62f830e396:localhost]

2020-11-24 08:36:59 | [Mutex] received everything.

2020-11-24 08:36:59 | [Mutex] isItemNotified: received:node:d4abf721-52b5-4ee8-af40-ae62f830e396:localhost:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472 :: true

2020-11-24 08:36:59 | [Mutex] waiting for: [received:nodes:695a22f9-cc3a-4ebf-8787-9002c2fd976f:localhost]

2020-11-24 08:36:59 | [Mutex] received everything.

2020-11-24 08:36:59 | [Mutex] isItemNotified: received:node:695a22f9-cc3a-4ebf-8787-9002c2fd976f:localhost:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472 :: false

createNodes 1.404s
2020-11-24 08:36:55 |

2020-11-24 08:36:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:36:55 | ------------------------------------

2020-11-24 08:36:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</title></pubsub></data>

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

2020-11-24 08:36:57 | [Mutex] waiting for: [received:nodes:b30dd8aa-5fc4-464b-bd4f-f974098f5ed5:localhost]

2020-11-24 08:36:57 | [Mutex] received everything.

2020-11-24 08:36:57 | [Mutex] isItemNotified: received:node:b30dd8aa-5fc4-464b-bd4f-f974098f5ed5:localhost:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472 :: true

createSubnodes 1.039s
2020-11-24 08:36:57 |

2020-11-24 08:36:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:36:57 | ------------------------------------

2020-11-24 08:36:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a428fe08-879a-437a-b1ad-46639a539720</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a428fe08-879a-437a-b1ad-46639a539720</title></pubsub></data>

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

2020-11-24 08:36:58 | [Mutex] waiting for: [received:nodes:fcadd555-a1d2-4917-a4f9-fc3319e0d900:localhost]

2020-11-24 08:36:58 | [Mutex] received everything.

2020-11-24 08:36:58 | [Mutex] isItemNotified: received:node:fcadd555-a1d2-4917-a4f9-fc3319e0d900:localhost:node-a428fe08-879a-437a-b1ad-46639a539720:Node a428fe08-879a-437a-b1ad-46639a539720 :: true

deleteNodes 1.023s
2020-11-24 08:37:03 |

2020-11-24 08:37:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:03 | ------------------------------------

2020-11-24 08:37:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a428fe08-879a-437a-b1ad-46639a539720</node></data>

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

2020-11-24 08:37:04 | [Mutex] waiting for: [received:nodes:2dedbe49-53f8-4c6e-a07b-ad7e2b98e395:localhost]

2020-11-24 08:37:04 | [Mutex] received everything.

2020-11-24 08:37:04 | [Mutex] isItemNotified: received:node:2dedbe49-53f8-4c6e-a07b-ad7e2b98e395:localhost:node-a428fe08-879a-437a-b1ad-46639a539720:Node a428fe08-879a-437a-b1ad-46639a539720 :: false

deleteSubnodes 1.137s
2020-11-24 08:37:02 |

2020-11-24 08:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:02 | ------------------------------------

2020-11-24 08:37:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node></data>

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

2020-11-24 08:37:03 | [Mutex] waiting for: [received:nodes:27719680-dc56-497f-93b5-f77222346317:localhost]

2020-11-24 08:37:03 | [Mutex] waiting for: [received:nodes:27719680-dc56-497f-93b5-f77222346317:localhost]

2020-11-24 08:37:03 | [Mutex] waiting for: [received:nodes:27719680-dc56-497f-93b5-f77222346317:localhost]

2020-11-24 08:37:03 | [Mutex] received everything.

2020-11-24 08:37:03 | [Mutex] isItemNotified: received:node:27719680-dc56-497f-93b5-f77222346317:localhost:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472 :: false

2020-11-24 08:37:03 | [Mutex] waiting for: [received:nodes:a7d90ba6-d101-42fa-9409-f1e959a42d3d:localhost]

2020-11-24 08:37:03 | [Mutex] received everything.

2020-11-24 08:37:03 | [Mutex] isItemNotified: received:node:a7d90ba6-d101-42fa-9409-f1e959a42d3d:localhost:node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472:Node 1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472 :: false

publishItemsToNodes 0.260s
2020-11-24 08:37:00 |

2020-11-24 08:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:00 | ------------------------------------

2020-11-24 08:37:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><item-id>item-904b8554-9386-4465-9f05-ac005072ccfd</item-id><entry><test>item-904b8554-9386-4465-9f05-ac005072ccfd</test></entry></data>

2020-11-24 08:37:00 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-904b8554-9386-4465-9f05-ac005072ccfd</value></item-id></result>

2020-11-24 08:37:00 | [Mutex] received everything.

2020-11-24 08:37:00 | [Mutex] isItemNotified: published:item:notifieditem-904b8554-9386-4465-9f05-ac005072ccfd:admin@test-domain.com :: true

retractItemsFromNodes 0.211s
2020-11-24 08:37:01 |

2020-11-24 08:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:01 | ------------------------------------

2020-11-24 08:37:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><item-id>item-904b8554-9386-4465-9f05-ac005072ccfd</item-id></data>

2020-11-24 08:37:01 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-904b8554-9386-4465-9f05-ac005072ccfd</value></item-id></result>

2020-11-24 08:37:01 | [Mutex] waiting for: [retracted:item:notifieditem-904b8554-9386-4465-9f05-ac005072ccfd:admin@test-domain.com]

2020-11-24 08:37:01 | [Mutex] received everything.

2020-11-24 08:37:01 | [Mutex] isItemNotified: retracted:item:notifieditem-904b8554-9386-4465-9f05-ac005072ccfd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.258s
2020-11-24 08:37:00 |

2020-11-24 08:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:00 | ------------------------------------

2020-11-24 08:37:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><item-id>item-904b8554-9386-4465-9f05-ac005072ccfd</item-id></data>

2020-11-24 08:37:00 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</value></node><item-id type="text-single" label="Item ID"><value>item-904b8554-9386-4465-9f05-ac005072ccfd</value></item-id><item type="text-multi" label="Item"><value><item id="item-904b8554-9386-4465-9f05-ac005072ccfd"><test>item-904b8554-9386-4465-9f05-ac005072ccfd</test></item></value></item></result>

2020-11-24 08:37:00 | [Mutex] notify: [retrieved:item:item-904b8554-9386-4465-9f05-ac005072ccfd:payload-matches:true:localhost]

2020-11-24 08:37:00 | [Mutex] received everything.

2020-11-24 08:37:00 | [Mutex] isItemNotified: retrieved:item:item-904b8554-9386-4465-9f05-ac005072ccfd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-24 08:37:00 |

2020-11-24 08:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:00 | ------------------------------------

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

2020-11-24 08:37:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-a428fe08-879a-437a-b1ad-46639a539720</value><value>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-24 08:37:00 |

2020-11-24 08:37:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:00 | ------------------------------------

2020-11-24 08:37:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472)</node-pattern></data>

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

subscribeNodes 1.108s
2020-11-24 08:36:59 |

2020-11-24 08:36:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:36:59 | ------------------------------------

2020-11-24 08:36:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.180s
2020-11-24 08:37:01 |

2020-11-24 08:37:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-24 08:37:01 | ------------------------------------

2020-11-24 08:37:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1ae11e3e-6ec1-440f-8ab9-5a80a1eb0472</node><jids><value>admin@test-domain.com</value></jids></data>

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