Generated by TestNG with ReportNG at 22:30 PDT on Friday 08 July 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.572s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.150s
2022-07-08 22:44:58 |

2022-07-08 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:44:58 | ------------------------------------

2022-07-08 22:44:58 | [Mutex] waiting for: [configured:node:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:node-6b7df39c-fb43-4244-89fc-ea80d05c2167]

2022-07-08 22:44:58 | [Mutex] received everything.

2022-07-08 22:44:58 | [Mutex] isItemNotified: configured:node:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:node-6b7df39c-fb43-4244-89fc-ea80d05c2167 :: true

2022-07-08 22:44:59 | [Mutex] waiting for: [received:nodes:f906badf-312c-48ad-bbb2-207cd57103d9:localhost]

2022-07-08 22:44:59 | [Mutex] received everything.

2022-07-08 22:44:59 | [Mutex] isItemNotified: received:node:f906badf-312c-48ad-bbb2-207cd57103d9:localhost:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:Node 13c57d8c-0837-4009-b326-f4b7e132c0ba :: true

2022-07-08 22:44:59 | [Mutex] waiting for: [received:nodes:1f431e91-8325-4803-83b3-43362f917e24:localhost]

2022-07-08 22:44:59 | [Mutex] waiting for: [received:nodes:1f431e91-8325-4803-83b3-43362f917e24:localhost]

2022-07-08 22:44:59 | [Mutex] waiting for: [received:nodes:1f431e91-8325-4803-83b3-43362f917e24:localhost]

2022-07-08 22:44:59 | [Mutex] received everything.

2022-07-08 22:44:59 | [Mutex] isItemNotified: received:node:1f431e91-8325-4803-83b3-43362f917e24:localhost:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:Node 13c57d8c-0837-4009-b326-f4b7e132c0ba :: false

createNodes 1.401s
2022-07-08 22:44:56 |

2022-07-08 22:44:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:44:56 | ------------------------------------

2022-07-08 22:44:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 13c57d8c-0837-4009-b326-f4b7e132c0ba</title></pubsub></data>

2022-07-08 22:44:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:44:57 | [Mutex] waiting for: [received:nodes:f05e3b23-5dd6-45a4-9493-9aef58c0d133:localhost]

2022-07-08 22:44:57 | [Mutex] waiting for: [received:nodes:f05e3b23-5dd6-45a4-9493-9aef58c0d133:localhost]

2022-07-08 22:44:57 | [Mutex] received everything.

2022-07-08 22:44:57 | [Mutex] isItemNotified: received:node:f05e3b23-5dd6-45a4-9493-9aef58c0d133:localhost:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:Node 13c57d8c-0837-4009-b326-f4b7e132c0ba :: true

createSubnodes 1.033s
2022-07-08 22:44:57 |

2022-07-08 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:44:57 | ------------------------------------

2022-07-08 22:44:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6b7df39c-fb43-4244-89fc-ea80d05c2167</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6b7df39c-fb43-4244-89fc-ea80d05c2167</title></pubsub></data>

2022-07-08 22:44:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:44:58 | [Mutex] waiting for: [received:nodes:8ed17939-ded3-4ed7-ae04-d086e44fe106:localhost]

2022-07-08 22:44:58 | [Mutex] received everything.

2022-07-08 22:44:58 | [Mutex] isItemNotified: received:node:8ed17939-ded3-4ed7-ae04-d086e44fe106:localhost:node-6b7df39c-fb43-4244-89fc-ea80d05c2167:Node 6b7df39c-fb43-4244-89fc-ea80d05c2167 :: true

deleteNodes 1.029s
2022-07-08 22:45:04 |

2022-07-08 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:04 | ------------------------------------

2022-07-08 22:45:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6b7df39c-fb43-4244-89fc-ea80d05c2167</node></data>

2022-07-08 22:45:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:45:05 | [Mutex] waiting for: [received:nodes:76013e7b-4426-451f-b78e-ab0cfcc569c1:localhost]

2022-07-08 22:45:05 | [Mutex] waiting for: [received:nodes:76013e7b-4426-451f-b78e-ab0cfcc569c1:localhost]

2022-07-08 22:45:05 | [Mutex] received everything.

2022-07-08 22:45:05 | [Mutex] isItemNotified: received:node:76013e7b-4426-451f-b78e-ab0cfcc569c1:localhost:node-6b7df39c-fb43-4244-89fc-ea80d05c2167:Node 6b7df39c-fb43-4244-89fc-ea80d05c2167 :: false

deleteSubnodes 1.163s
2022-07-08 22:45:02 |

2022-07-08 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:02 | ------------------------------------

2022-07-08 22:45:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node></data>

2022-07-08 22:45:03 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-08 22:45:04 | [Mutex] waiting for: [received:nodes:58ddbc6c-ba68-4797-8e1b-9a0e04798efa:localhost]

2022-07-08 22:45:04 | [Mutex] received everything.

2022-07-08 22:45:04 | [Mutex] isItemNotified: received:node:58ddbc6c-ba68-4797-8e1b-9a0e04798efa:localhost:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:Node 13c57d8c-0837-4009-b326-f4b7e132c0ba :: false

2022-07-08 22:45:04 | [Mutex] waiting for: [received:nodes:d4cd1ce6-cf93-4c78-a6e2-c62015363876:localhost]

2022-07-08 22:45:04 | [Mutex] received everything.

2022-07-08 22:45:04 | [Mutex] isItemNotified: received:node:d4cd1ce6-cf93-4c78-a6e2-c62015363876:localhost:node-13c57d8c-0837-4009-b326-f4b7e132c0ba:Node 13c57d8c-0837-4009-b326-f4b7e132c0ba :: false

publishItemsToNodes 0.200s
2022-07-08 22:45:00 |

2022-07-08 22:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:00 | ------------------------------------

2022-07-08 22:45:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><item-id>item-9686e755-e0b2-48cc-b2c2-8f458583e861</item-id><entry><test>item-9686e755-e0b2-48cc-b2c2-8f458583e861</test></entry></data>

2022-07-08 22:45:01 | 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-9686e755-e0b2-48cc-b2c2-8f458583e861</value></item-id></result>

2022-07-08 22:45:01 | [Mutex] received everything.

2022-07-08 22:45:01 | [Mutex] isItemNotified: published:item:notifieditem-9686e755-e0b2-48cc-b2c2-8f458583e861:admin@test-domain.com :: true

retractItemsFromNodes 0.313s
2022-07-08 22:45:01 |

2022-07-08 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:01 | ------------------------------------

2022-07-08 22:45:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><item-id>item-9686e755-e0b2-48cc-b2c2-8f458583e861</item-id></data>

2022-07-08 22:45:01 | 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-9686e755-e0b2-48cc-b2c2-8f458583e861</value></item-id></result>

2022-07-08 22:45:01 | [Mutex] waiting for: [retracted:item:notifieditem-9686e755-e0b2-48cc-b2c2-8f458583e861:admin@test-domain.com]

2022-07-08 22:45:01 | [Mutex] received everything.

2022-07-08 22:45:01 | [Mutex] isItemNotified: retracted:item:notifieditem-9686e755-e0b2-48cc-b2c2-8f458583e861:admin@test-domain.com :: true

retrieveItemsFromNodes 0.215s
2022-07-08 22:45:01 |

2022-07-08 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:01 | ------------------------------------

2022-07-08 22:45:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><item-id>item-9686e755-e0b2-48cc-b2c2-8f458583e861</item-id></data>

2022-07-08 22:45:01 | 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-13c57d8c-0837-4009-b326-f4b7e132c0ba</value></node><item-id label="Item ID" type="text-single"><value>item-9686e755-e0b2-48cc-b2c2-8f458583e861</value></item-id><item label="Item" type="text-multi"><value><item id="item-9686e755-e0b2-48cc-b2c2-8f458583e861"><test>item-9686e755-e0b2-48cc-b2c2-8f458583e861</test></item></value></item></result>

2022-07-08 22:45:01 | [Mutex] notify: [retrieved:item:item-9686e755-e0b2-48cc-b2c2-8f458583e861:payload-matches:true:localhost]

2022-07-08 22:45:01 | [Mutex] received everything.

2022-07-08 22:45:01 | [Mutex] isItemNotified: retrieved:item:item-9686e755-e0b2-48cc-b2c2-8f458583e861:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-08 22:45:01 |

2022-07-08 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:01 | ------------------------------------

2022-07-08 22:45:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-08 22:45:01 | 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-13c57d8c-0837-4009-b326-f4b7e132c0ba</value><value>node-6b7df39c-fb43-4244-89fc-ea80d05c2167</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-08 22:45:01 |

2022-07-08 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:01 | ------------------------------------

2022-07-08 22:45:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-13c57d8c-0837-4009-b326-f4b7e132c0ba)</node-pattern></data>

2022-07-08 22:45:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2022-07-08 22:44:59 |

2022-07-08 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:44:59 | ------------------------------------

2022-07-08 22:44:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-08 22:44: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.189s
2022-07-08 22:45:01 |

2022-07-08 22:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-08 22:45:01 | ------------------------------------

2022-07-08 22:45:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-13c57d8c-0837-4009-b326-f4b7e132c0ba</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-08 22:45:01 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>