Generated by TestNG with ReportNG at 22:03 PST on Tuesday 08 February 2022
root@b2c2a8eba6e6 / 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 : 10.482s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2022-02-08 22:18:53 |

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

2022-02-08 22:18:53 | ------------------------------------

2022-02-08 22:18:53 | [Mutex] waiting for: [configured:node:node-ccb71b08-64cd-4b99-a964-38a81c52d453:node-5d7004b1-39ef-4b70-8a54-4ae4549a6610]

2022-02-08 22:18:53 | [Mutex] received everything.

2022-02-08 22:18:53 | [Mutex] isItemNotified: configured:node:node-ccb71b08-64cd-4b99-a964-38a81c52d453:node-5d7004b1-39ef-4b70-8a54-4ae4549a6610 :: true

2022-02-08 22:18:54 | [Mutex] waiting for: [received:nodes:a2ed17f7-9c09-4bc3-8169-abc76011bdc8:localhost]

2022-02-08 22:18:54 | [Mutex] received everything.

2022-02-08 22:18:54 | [Mutex] isItemNotified: received:node:a2ed17f7-9c09-4bc3-8169-abc76011bdc8:localhost:node-ccb71b08-64cd-4b99-a964-38a81c52d453:Node ccb71b08-64cd-4b99-a964-38a81c52d453 :: true

2022-02-08 22:18:54 | [Mutex] waiting for: [received:nodes:3bb7d2ef-36e9-474d-8030-4844b0c1510c:localhost]

2022-02-08 22:18:54 | [Mutex] received everything.

2022-02-08 22:18:54 | [Mutex] isItemNotified: received:node:3bb7d2ef-36e9-474d-8030-4844b0c1510c:localhost:node-ccb71b08-64cd-4b99-a964-38a81c52d453:Node ccb71b08-64cd-4b99-a964-38a81c52d453 :: false

createNodes 1.700s
2022-02-08 22:18:50 |

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

2022-02-08 22:18:50 | ------------------------------------

2022-02-08 22:18:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ccb71b08-64cd-4b99-a964-38a81c52d453</title></pubsub></data>

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

2022-02-08 22:18:52 | [Mutex] waiting for: [received:nodes:350a3ada-ef8d-4c7e-aaed-7a2ab6885694:localhost]

2022-02-08 22:18:52 | [Mutex] received everything.

2022-02-08 22:18:52 | [Mutex] isItemNotified: received:node:350a3ada-ef8d-4c7e-aaed-7a2ab6885694:localhost:node-ccb71b08-64cd-4b99-a964-38a81c52d453:Node ccb71b08-64cd-4b99-a964-38a81c52d453 :: true

createSubnodes 1.032s
2022-02-08 22:18:52 |

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

2022-02-08 22:18:52 | ------------------------------------

2022-02-08 22:18:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d7004b1-39ef-4b70-8a54-4ae4549a6610</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5d7004b1-39ef-4b70-8a54-4ae4549a6610</title></pubsub></data>

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

2022-02-08 22:18:53 | [Mutex] waiting for: [received:nodes:9a33a9de-2886-4eca-8e25-b9b33c5ee0d9:localhost]

2022-02-08 22:18:53 | [Mutex] received everything.

2022-02-08 22:18:53 | [Mutex] isItemNotified: received:node:9a33a9de-2886-4eca-8e25-b9b33c5ee0d9:localhost:node-5d7004b1-39ef-4b70-8a54-4ae4549a6610:Node 5d7004b1-39ef-4b70-8a54-4ae4549a6610 :: true

deleteNodes 1.017s
2022-02-08 22:18:59 |

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

2022-02-08 22:18:59 | ------------------------------------

2022-02-08 22:18:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d7004b1-39ef-4b70-8a54-4ae4549a6610</node></data>

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

2022-02-08 22:19:00 | [Mutex] waiting for: [received:nodes:bfc34d7b-0be5-4859-bb42-311ad313c770:localhost]

2022-02-08 22:19:00 | [Mutex] waiting for: [received:nodes:bfc34d7b-0be5-4859-bb42-311ad313c770:localhost]

2022-02-08 22:19:00 | [Mutex] received everything.

2022-02-08 22:19:00 | [Mutex] isItemNotified: received:node:bfc34d7b-0be5-4859-bb42-311ad313c770:localhost:node-5d7004b1-39ef-4b70-8a54-4ae4549a6610:Node 5d7004b1-39ef-4b70-8a54-4ae4549a6610 :: false

deleteSubnodes 1.149s
2022-02-08 22:18:58 |

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

2022-02-08 22:18:58 | ------------------------------------

2022-02-08 22:18:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node></data>

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

2022-02-08 22:18:59 | [Mutex] waiting for: [received:nodes:538fb3eb-7dc5-4440-b0aa-10abe9d1809b:localhost]

2022-02-08 22:18:59 | [Mutex] received everything.

2022-02-08 22:18:59 | [Mutex] isItemNotified: received:node:538fb3eb-7dc5-4440-b0aa-10abe9d1809b:localhost:node-ccb71b08-64cd-4b99-a964-38a81c52d453:Node ccb71b08-64cd-4b99-a964-38a81c52d453 :: false

2022-02-08 22:18:59 | [Mutex] waiting for: [received:nodes:dfff2a4b-74b6-420d-92b9-414024d34a54:localhost]

2022-02-08 22:18:59 | [Mutex] received everything.

2022-02-08 22:18:59 | [Mutex] isItemNotified: received:node:dfff2a4b-74b6-420d-92b9-414024d34a54:localhost:node-ccb71b08-64cd-4b99-a964-38a81c52d453:Node ccb71b08-64cd-4b99-a964-38a81c52d453 :: false

publishItemsToNodes 0.262s
2022-02-08 22:18:55 |

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

2022-02-08 22:18:55 | ------------------------------------

2022-02-08 22:18:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><item-id>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</item-id><entry><test>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</test></entry></data>

2022-02-08 22:18:55 | 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-22325e5d-93d9-43d5-b6b5-546aa0b59e17</value></item-id></result>

2022-02-08 22:18:55 | [Mutex] received everything.

2022-02-08 22:18:55 | [Mutex] isItemNotified: published:item:notifieditem-22325e5d-93d9-43d5-b6b5-546aa0b59e17:admin@test-domain.com :: true

retractItemsFromNodes 0.345s
2022-02-08 22:18:56 |

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

2022-02-08 22:18:56 | ------------------------------------

2022-02-08 22:18:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><item-id>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</item-id></data>

2022-02-08 22:18:56 | 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-22325e5d-93d9-43d5-b6b5-546aa0b59e17</value></item-id></result>

2022-02-08 22:18:56 | [Mutex] received everything.

2022-02-08 22:18:56 | [Mutex] isItemNotified: retracted:item:notifieditem-22325e5d-93d9-43d5-b6b5-546aa0b59e17:admin@test-domain.com :: true

retrieveItemsFromNodes 0.294s
2022-02-08 22:18:55 |

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

2022-02-08 22:18:55 | ------------------------------------

2022-02-08 22:18:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><item-id>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</item-id></data>

2022-02-08 22:18:56 | 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-ccb71b08-64cd-4b99-a964-38a81c52d453</value></node><item-id type="text-single" label="Item ID"><value>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</value></item-id><item type="text-multi" label="Item"><value><item id="item-22325e5d-93d9-43d5-b6b5-546aa0b59e17"><test>item-22325e5d-93d9-43d5-b6b5-546aa0b59e17</test></item></value></item></result>

2022-02-08 22:18:56 | [Mutex] notify: [retrieved:item:item-22325e5d-93d9-43d5-b6b5-546aa0b59e17:payload-matches:true:localhost]

2022-02-08 22:18:56 | [Mutex] received everything.

2022-02-08 22:18:56 | [Mutex] isItemNotified: retrieved:item:item-22325e5d-93d9-43d5-b6b5-546aa0b59e17:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-08 22:18:56 |

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

2022-02-08 22:18:56 | ------------------------------------

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

2022-02-08 22:18:56 | 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-ccb71b08-64cd-4b99-a964-38a81c52d453</value><value>node-5d7004b1-39ef-4b70-8a54-4ae4549a6610</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2022-02-08 22:18:56 |

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

2022-02-08 22:18:56 | ------------------------------------

2022-02-08 22:18:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ccb71b08-64cd-4b99-a964-38a81c52d453)</node-pattern></data>

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

subscribeNodes 1.178s
2022-02-08 22:18:54 |

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

2022-02-08 22:18:54 | ------------------------------------

2022-02-08 22:18:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-08 22:18:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.371s
2022-02-08 22:18:56 |

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

2022-02-08 22:18:56 | ------------------------------------

2022-02-08 22:18:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ccb71b08-64cd-4b99-a964-38a81c52d453</node><jids><value>admin@test-domain.com</value></jids></data>

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