Generated by TestNG with ReportNG at 22:22 PDT on Monday 17 October 2022
root@f9c07ffec79b / 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.552s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-10-17 22:36:27 |

2022-10-17 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:27 | ------------------------------------

2022-10-17 22:36:27 | [Mutex] waiting for: [configured:node:node-1a03d883-f902-4e30-baa8-d44678ed4962:node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab]

2022-10-17 22:36:27 | [Mutex] received everything.

2022-10-17 22:36:27 | [Mutex] isItemNotified: configured:node:node-1a03d883-f902-4e30-baa8-d44678ed4962:node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab :: true

2022-10-17 22:36:28 | [Mutex] waiting for: [received:nodes:53a037df-4b15-4f03-a454-d805c1ff075c:localhost]

2022-10-17 22:36:28 | [Mutex] received everything.

2022-10-17 22:36:28 | [Mutex] isItemNotified: received:node:53a037df-4b15-4f03-a454-d805c1ff075c:localhost:node-1a03d883-f902-4e30-baa8-d44678ed4962:Node 1a03d883-f902-4e30-baa8-d44678ed4962 :: true

2022-10-17 22:36:28 | [Mutex] waiting for: [received:nodes:e033cea6-73b6-476d-aedb-ad704a3fc041:localhost]

2022-10-17 22:36:28 | [Mutex] waiting for: [received:nodes:e033cea6-73b6-476d-aedb-ad704a3fc041:localhost]

2022-10-17 22:36:28 | [Mutex] received everything.

2022-10-17 22:36:28 | [Mutex] isItemNotified: received:node:e033cea6-73b6-476d-aedb-ad704a3fc041:localhost:node-1a03d883-f902-4e30-baa8-d44678ed4962:Node 1a03d883-f902-4e30-baa8-d44678ed4962 :: false

createNodes 1.369s
2022-10-17 22:36:25 |

2022-10-17 22:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:25 | ------------------------------------

2022-10-17 22:36:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a03d883-f902-4e30-baa8-d44678ed4962</title></pubsub></data>

2022-10-17 22:36:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:26 | [Mutex] waiting for: [received:nodes:90a61a9a-5b25-4621-a192-748d0f670d6f:localhost]

2022-10-17 22:36:26 | [Mutex] waiting for: [received:nodes:90a61a9a-5b25-4621-a192-748d0f670d6f:localhost]

2022-10-17 22:36:26 | [Mutex] received everything.

2022-10-17 22:36:26 | [Mutex] isItemNotified: received:node:90a61a9a-5b25-4621-a192-748d0f670d6f:localhost:node-1a03d883-f902-4e30-baa8-d44678ed4962:Node 1a03d883-f902-4e30-baa8-d44678ed4962 :: true

createSubnodes 1.028s
2022-10-17 22:36:26 |

2022-10-17 22:36:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:26 | ------------------------------------

2022-10-17 22:36:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2cc76aa0-4c6f-4f4c-92e6-201d198834ab</title></pubsub></data>

2022-10-17 22:36:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:27 | [Mutex] waiting for: [received:nodes:bc27b121-834c-4df7-977d-f7dac35809a1:localhost]

2022-10-17 22:36:27 | [Mutex] received everything.

2022-10-17 22:36:27 | [Mutex] isItemNotified: received:node:bc27b121-834c-4df7-977d-f7dac35809a1:localhost:node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab:Node 2cc76aa0-4c6f-4f4c-92e6-201d198834ab :: true

deleteNodes 1.021s
2022-10-17 22:36:33 |

2022-10-17 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:33 | ------------------------------------

2022-10-17 22:36:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab</node></data>

2022-10-17 22:36:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:34 | [Mutex] waiting for: [received:nodes:2a7a5d13-9fd5-49fd-bf84-f0436c5fcbfd:localhost]

2022-10-17 22:36:34 | [Mutex] received everything.

2022-10-17 22:36:34 | [Mutex] isItemNotified: received:node:2a7a5d13-9fd5-49fd-bf84-f0436c5fcbfd:localhost:node-2cc76aa0-4c6f-4f4c-92e6-201d198834ab:Node 2cc76aa0-4c6f-4f4c-92e6-201d198834ab :: false

deleteSubnodes 1.167s
2022-10-17 22:36:32 |

2022-10-17 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:32 | ------------------------------------

2022-10-17 22:36:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node></data>

2022-10-17 22:36:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-17 22:36:33 | [Mutex] waiting for: [received:nodes:9afaf870-a362-43d7-a75e-19f7a7cec799:localhost]

2022-10-17 22:36:33 | [Mutex] waiting for: [received:nodes:9afaf870-a362-43d7-a75e-19f7a7cec799:localhost]

2022-10-17 22:36:33 | [Mutex] received everything.

2022-10-17 22:36:33 | [Mutex] isItemNotified: received:node:9afaf870-a362-43d7-a75e-19f7a7cec799:localhost:node-1a03d883-f902-4e30-baa8-d44678ed4962:Node 1a03d883-f902-4e30-baa8-d44678ed4962 :: false

2022-10-17 22:36:33 | [Mutex] waiting for: [received:nodes:f90b62ea-5fa8-4ad1-bba0-96d7ca035cae:localhost]

2022-10-17 22:36:33 | [Mutex] received everything.

2022-10-17 22:36:33 | [Mutex] isItemNotified: received:node:f90b62ea-5fa8-4ad1-bba0-96d7ca035cae:localhost:node-1a03d883-f902-4e30-baa8-d44678ed4962:Node 1a03d883-f902-4e30-baa8-d44678ed4962 :: false

publishItemsToNodes 0.288s
2022-10-17 22:36:30 |

2022-10-17 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:30 | ------------------------------------

2022-10-17 22:36:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><item-id>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</item-id><entry><test>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</test></entry></data>

2022-10-17 22:36:30 | 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-c9f32c56-33be-4501-8f4b-1ca997d7222d</value></item-id></result>

2022-10-17 22:36:30 | [Mutex] received everything.

2022-10-17 22:36:30 | [Mutex] isItemNotified: published:item:notifieditem-c9f32c56-33be-4501-8f4b-1ca997d7222d:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2022-10-17 22:36:30 |

2022-10-17 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:30 | ------------------------------------

2022-10-17 22:36:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><item-id>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</item-id></data>

2022-10-17 22:36:31 | 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-c9f32c56-33be-4501-8f4b-1ca997d7222d</value></item-id></result>

2022-10-17 22:36:31 | [Mutex] received everything.

2022-10-17 22:36:31 | [Mutex] isItemNotified: retracted:item:notifieditem-c9f32c56-33be-4501-8f4b-1ca997d7222d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2022-10-17 22:36:30 |

2022-10-17 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:30 | ------------------------------------

2022-10-17 22:36:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><item-id>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</item-id></data>

2022-10-17 22:36:30 | 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-1a03d883-f902-4e30-baa8-d44678ed4962</value></node><item-id label="Item ID" type="text-single"><value>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</value></item-id><item label="Item" type="text-multi"><value><item id="item-c9f32c56-33be-4501-8f4b-1ca997d7222d"><test>item-c9f32c56-33be-4501-8f4b-1ca997d7222d</test></item></value></item></result>

2022-10-17 22:36:30 | [Mutex] notify: [retrieved:item:item-c9f32c56-33be-4501-8f4b-1ca997d7222d:payload-matches:true:localhost]

2022-10-17 22:36:30 | [Mutex] received everything.

2022-10-17 22:36:30 | [Mutex] isItemNotified: retrieved:item:item-c9f32c56-33be-4501-8f4b-1ca997d7222d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-10-17 22:36:30 |

2022-10-17 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:30 | ------------------------------------

2022-10-17 22:36:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-17 22:36:30 | 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-2cc76aa0-4c6f-4f4c-92e6-201d198834ab</value><value>node-1a03d883-f902-4e30-baa8-d44678ed4962</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-10-17 22:36:30 |

2022-10-17 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:30 | ------------------------------------

2022-10-17 22:36:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1a03d883-f902-4e30-baa8-d44678ed4962)</node-pattern></data>

2022-10-17 22:36:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.146s
2022-10-17 22:36:28 |

2022-10-17 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:28 | ------------------------------------

2022-10-17 22:36:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.143s
2022-10-17 22:36:31 |

2022-10-17 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-17 22:36:31 | ------------------------------------

2022-10-17 22:36:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1a03d883-f902-4e30-baa8-d44678ed4962</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-17 22:36:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>