Generated by TestNG with ReportNG at 22:16 PST on Tuesday 08 February 2022
root@785cf647a4ab / 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.353s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.044s
2022-02-08 22:30:29 |

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

2022-02-08 22:30:29 | ------------------------------------

2022-02-08 22:30:29 | [Mutex] waiting for: [configured:node:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:node-c9127b1a-521b-4490-b47d-850444210254]

2022-02-08 22:30:29 | [Mutex] received everything.

2022-02-08 22:30:29 | [Mutex] isItemNotified: configured:node:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:node-c9127b1a-521b-4490-b47d-850444210254 :: true

2022-02-08 22:30:30 | [Mutex] waiting for: [received:nodes:8108b52c-4952-412d-a449-f422b32e8915:localhost]

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

2022-02-08 22:30:30 | [Mutex] isItemNotified: received:node:8108b52c-4952-412d-a449-f422b32e8915:localhost:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819 :: true

2022-02-08 22:30:30 | [Mutex] waiting for: [received:nodes:7d2c81ad-7972-499e-8a40-1f98f353112e:localhost]

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

2022-02-08 22:30:30 | [Mutex] isItemNotified: received:node:7d2c81ad-7972-499e-8a40-1f98f353112e:localhost:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819 :: false

createNodes 1.497s
2022-02-08 22:30:27 |

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

2022-02-08 22:30:27 | ------------------------------------

2022-02-08 22:30:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</title></pubsub></data>

2022-02-08 22:30:27 | 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:30:28 | [Mutex] waiting for: [received:nodes:a9bb6b8d-85a1-47fa-8939-7811bddc089c:localhost]

2022-02-08 22:30:28 | [Mutex] waiting for: [received:nodes:a9bb6b8d-85a1-47fa-8939-7811bddc089c:localhost]

2022-02-08 22:30:28 | [Mutex] received everything.

2022-02-08 22:30:28 | [Mutex] isItemNotified: received:node:a9bb6b8d-85a1-47fa-8939-7811bddc089c:localhost:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819 :: true

createSubnodes 1.025s
2022-02-08 22:30:28 |

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

2022-02-08 22:30:28 | ------------------------------------

2022-02-08 22:30:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9127b1a-521b-4490-b47d-850444210254</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9127b1a-521b-4490-b47d-850444210254</title></pubsub></data>

2022-02-08 22:30:28 | 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:30:29 | [Mutex] waiting for: [received:nodes:569cc61c-9b2a-4cad-8cec-d62700daefe2:localhost]

2022-02-08 22:30:29 | [Mutex] received everything.

2022-02-08 22:30:29 | [Mutex] isItemNotified: received:node:569cc61c-9b2a-4cad-8cec-d62700daefe2:localhost:node-c9127b1a-521b-4490-b47d-850444210254:Node c9127b1a-521b-4490-b47d-850444210254 :: true

deleteNodes 1.025s
2022-02-08 22:30:35 |

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

2022-02-08 22:30:35 | ------------------------------------

2022-02-08 22:30:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9127b1a-521b-4490-b47d-850444210254</node></data>

2022-02-08 22:30:35 | 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:30:36 | [Mutex] waiting for: [received:nodes:1b5ad8c2-90d0-4060-afa4-5f5dabbf95a6:localhost]

2022-02-08 22:30:36 | [Mutex] received everything.

2022-02-08 22:30:36 | [Mutex] isItemNotified: received:node:1b5ad8c2-90d0-4060-afa4-5f5dabbf95a6:localhost:node-c9127b1a-521b-4490-b47d-850444210254:Node c9127b1a-521b-4490-b47d-850444210254 :: false

deleteSubnodes 1.152s
2022-02-08 22:30:34 |

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

2022-02-08 22:30:34 | ------------------------------------

2022-02-08 22:30:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node></data>

2022-02-08 22:30:34 | 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:30:35 | [Mutex] waiting for: [received:nodes:bb3115e6-24e0-4691-94d7-4f395b8eae9b:localhost]

2022-02-08 22:30:35 | [Mutex] waiting for: [received:nodes:bb3115e6-24e0-4691-94d7-4f395b8eae9b:localhost]

2022-02-08 22:30:35 | [Mutex] waiting for: [received:nodes:bb3115e6-24e0-4691-94d7-4f395b8eae9b:localhost]

2022-02-08 22:30:35 | [Mutex] received everything.

2022-02-08 22:30:35 | [Mutex] isItemNotified: received:node:bb3115e6-24e0-4691-94d7-4f395b8eae9b:localhost:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819 :: false

2022-02-08 22:30:35 | [Mutex] waiting for: [received:nodes:728e0b0a-f662-4b98-a617-b389d5b66296:localhost]

2022-02-08 22:30:35 | [Mutex] received everything.

2022-02-08 22:30:35 | [Mutex] isItemNotified: received:node:728e0b0a-f662-4b98-a617-b389d5b66296:localhost:node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819:Node dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819 :: false

publishItemsToNodes 0.287s
2022-02-08 22:30:32 |

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

2022-02-08 22:30:32 | ------------------------------------

2022-02-08 22:30:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><item-id>item-170f0f8d-3cb0-4749-9331-4e137f90945a</item-id><entry><test>item-170f0f8d-3cb0-4749-9331-4e137f90945a</test></entry></data>

2022-02-08 22:30:32 | 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-170f0f8d-3cb0-4749-9331-4e137f90945a</value></item-id></result>

2022-02-08 22:30:32 | [Mutex] waiting for: [published:item:notifieditem-170f0f8d-3cb0-4749-9331-4e137f90945a:admin@test-domain.com]

2022-02-08 22:30:32 | [Mutex] received everything.

2022-02-08 22:30:32 | [Mutex] isItemNotified: published:item:notifieditem-170f0f8d-3cb0-4749-9331-4e137f90945a:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-02-08 22:30:32 |

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

2022-02-08 22:30:32 | ------------------------------------

2022-02-08 22:30:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><item-id>item-170f0f8d-3cb0-4749-9331-4e137f90945a</item-id></data>

2022-02-08 22:30:33 | 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-170f0f8d-3cb0-4749-9331-4e137f90945a</value></item-id></result>

2022-02-08 22:30:33 | [Mutex] waiting for: [retracted:item:notifieditem-170f0f8d-3cb0-4749-9331-4e137f90945a:admin@test-domain.com]

2022-02-08 22:30:33 | [Mutex] received everything.

2022-02-08 22:30:33 | [Mutex] isItemNotified: retracted:item:notifieditem-170f0f8d-3cb0-4749-9331-4e137f90945a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.346s
2022-02-08 22:30:32 |

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

2022-02-08 22:30:32 | ------------------------------------

2022-02-08 22:30:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><item-id>item-170f0f8d-3cb0-4749-9331-4e137f90945a</item-id></data>

2022-02-08 22:30:32 | 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-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</value></node><item-id type="text-single" label="Item ID"><value>item-170f0f8d-3cb0-4749-9331-4e137f90945a</value></item-id><item type="text-multi" label="Item"><value><item id="item-170f0f8d-3cb0-4749-9331-4e137f90945a"><test>item-170f0f8d-3cb0-4749-9331-4e137f90945a</test></item></value></item></result>

2022-02-08 22:30:32 | [Mutex] notify: [retrieved:item:item-170f0f8d-3cb0-4749-9331-4e137f90945a:payload-matches:true:localhost]

2022-02-08 22:30:32 | [Mutex] received everything.

2022-02-08 22:30:32 | [Mutex] isItemNotified: retrieved:item:item-170f0f8d-3cb0-4749-9331-4e137f90945a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2022-02-08 22:30:32 |

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

2022-02-08 22:30:32 | ------------------------------------

2022-02-08 22:30:32 | 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:30:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c9127b1a-521b-4490-b47d-850444210254</value><value>test</value><value>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-08 22:30:32 |

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

2022-02-08 22:30:32 | ------------------------------------

2022-02-08 22:30:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819)</node-pattern></data>

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

subscribeNodes 1.241s
2022-02-08 22:30:30 |

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

2022-02-08 22:30:30 | ------------------------------------

2022-02-08 22:30:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.402s
2022-02-08 22:30:33 |

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

2022-02-08 22:30:33 | ------------------------------------

2022-02-08 22:30:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd7e2a9f-4a8a-4afa-a35c-1067a1f3f819</node><jids><value>admin@test-domain.com</value></jids></data>

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