Generated by TestNG with ReportNG at 22:54 PDT on Sunday 02 October 2022
root@ed1b7dd8a1b3 / 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.563s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.083s
2022-10-02 23:09:03 |

2022-10-02 23:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:03 | ------------------------------------

2022-10-02 23:09:03 | [Mutex] waiting for: [configured:node:node-3975eb70-5e65-4771-873f-91183d711767:node-dfb56919-877a-428e-90c0-4b4ef27970ca]

2022-10-02 23:09:03 | [Mutex] received everything.

2022-10-02 23:09:03 | [Mutex] isItemNotified: configured:node:node-3975eb70-5e65-4771-873f-91183d711767:node-dfb56919-877a-428e-90c0-4b4ef27970ca :: true

2022-10-02 23:09:04 | [Mutex] waiting for: [received:nodes:49ff79ca-bc33-426a-92ad-b5c9da593a8a:localhost]

2022-10-02 23:09:04 | [Mutex] received everything.

2022-10-02 23:09:04 | [Mutex] isItemNotified: received:node:49ff79ca-bc33-426a-92ad-b5c9da593a8a:localhost:node-3975eb70-5e65-4771-873f-91183d711767:Node 3975eb70-5e65-4771-873f-91183d711767 :: true

2022-10-02 23:09:04 | [Mutex] waiting for: [received:nodes:8e0695a5-c917-47ef-bf86-c0d4f847e67b:localhost]

2022-10-02 23:09:04 | [Mutex] received everything.

2022-10-02 23:09:04 | [Mutex] isItemNotified: received:node:8e0695a5-c917-47ef-bf86-c0d4f847e67b:localhost:node-3975eb70-5e65-4771-873f-91183d711767:Node 3975eb70-5e65-4771-873f-91183d711767 :: false

createNodes 1.506s
2022-10-02 23:09:00 |

2022-10-02 23:09:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:00 | ------------------------------------

2022-10-02 23:09:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3975eb70-5e65-4771-873f-91183d711767</title></pubsub></data>

2022-10-02 23:09:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 23:09:02 | [Mutex] waiting for: [received:nodes:04d427c9-7000-4bde-b5f0-6f37106eba08:localhost]

2022-10-02 23:09:02 | [Mutex] received everything.

2022-10-02 23:09:02 | [Mutex] isItemNotified: received:node:04d427c9-7000-4bde-b5f0-6f37106eba08:localhost:node-3975eb70-5e65-4771-873f-91183d711767:Node 3975eb70-5e65-4771-873f-91183d711767 :: true

createSubnodes 1.030s
2022-10-02 23:09:02 |

2022-10-02 23:09:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:02 | ------------------------------------

2022-10-02 23:09:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dfb56919-877a-428e-90c0-4b4ef27970ca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dfb56919-877a-428e-90c0-4b4ef27970ca</title></pubsub></data>

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

2022-10-02 23:09:03 | [Mutex] waiting for: [received:nodes:d86c238d-41bc-4bc2-8973-6fc27cb0d3f5:localhost]

2022-10-02 23:09:03 | [Mutex] waiting for: [received:nodes:d86c238d-41bc-4bc2-8973-6fc27cb0d3f5:localhost]

2022-10-02 23:09:03 | [Mutex] received everything.

2022-10-02 23:09:03 | [Mutex] isItemNotified: received:node:d86c238d-41bc-4bc2-8973-6fc27cb0d3f5:localhost:node-dfb56919-877a-428e-90c0-4b4ef27970ca:Node dfb56919-877a-428e-90c0-4b4ef27970ca :: true

deleteNodes 1.021s
2022-10-02 23:09:08 |

2022-10-02 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:08 | ------------------------------------

2022-10-02 23:09:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dfb56919-877a-428e-90c0-4b4ef27970ca</node></data>

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

2022-10-02 23:09:09 | [Mutex] waiting for: [received:nodes:e13171d5-4dd2-4f8c-931b-70fa632852f8:localhost]

2022-10-02 23:09:09 | [Mutex] waiting for: [received:nodes:e13171d5-4dd2-4f8c-931b-70fa632852f8:localhost]

2022-10-02 23:09:09 | [Mutex] waiting for: [received:nodes:e13171d5-4dd2-4f8c-931b-70fa632852f8:localhost]

2022-10-02 23:09:09 | [Mutex] received everything.

2022-10-02 23:09:09 | [Mutex] isItemNotified: received:node:e13171d5-4dd2-4f8c-931b-70fa632852f8:localhost:node-dfb56919-877a-428e-90c0-4b4ef27970ca:Node dfb56919-877a-428e-90c0-4b4ef27970ca :: false

deleteSubnodes 1.123s
2022-10-02 23:09:07 |

2022-10-02 23:09:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:07 | ------------------------------------

2022-10-02 23:09:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node></data>

2022-10-02 23:09:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-10-02 23:09:08 | [Mutex] waiting for: [received:nodes:df8154bd-3501-485e-bc49-7b0c26260a1f:localhost]

2022-10-02 23:09:08 | [Mutex] received everything.

2022-10-02 23:09:08 | [Mutex] isItemNotified: received:node:df8154bd-3501-485e-bc49-7b0c26260a1f:localhost:node-3975eb70-5e65-4771-873f-91183d711767:Node 3975eb70-5e65-4771-873f-91183d711767 :: false

2022-10-02 23:09:08 | [Mutex] waiting for: [received:nodes:83261308-baee-4861-b0cd-d1dbfdb3fbad:localhost]

2022-10-02 23:09:08 | [Mutex] received everything.

2022-10-02 23:09:08 | [Mutex] isItemNotified: received:node:83261308-baee-4861-b0cd-d1dbfdb3fbad:localhost:node-3975eb70-5e65-4771-873f-91183d711767:Node 3975eb70-5e65-4771-873f-91183d711767 :: false

publishItemsToNodes 0.189s
2022-10-02 23:09:05 |

2022-10-02 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:05 | ------------------------------------

2022-10-02 23:09:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><item-id>item-966e5739-d6da-4152-8275-7296708b67ca</item-id><entry><test>item-966e5739-d6da-4152-8275-7296708b67ca</test></entry></data>

2022-10-02 23:09:05 | 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-966e5739-d6da-4152-8275-7296708b67ca</value></item-id></result>

2022-10-02 23:09:05 | [Mutex] received everything.

2022-10-02 23:09:05 | [Mutex] isItemNotified: published:item:notifieditem-966e5739-d6da-4152-8275-7296708b67ca:admin@test-domain.com :: true

retractItemsFromNodes 0.384s
2022-10-02 23:09:05 |

2022-10-02 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:05 | ------------------------------------

2022-10-02 23:09:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><item-id>item-966e5739-d6da-4152-8275-7296708b67ca</item-id></data>

2022-10-02 23:09:06 | 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-966e5739-d6da-4152-8275-7296708b67ca</value></item-id></result>

2022-10-02 23:09:06 | [Mutex] received everything.

2022-10-02 23:09:06 | [Mutex] isItemNotified: retracted:item:notifieditem-966e5739-d6da-4152-8275-7296708b67ca:admin@test-domain.com :: true

retrieveItemsFromNodes 0.193s
2022-10-02 23:09:05 |

2022-10-02 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:05 | ------------------------------------

2022-10-02 23:09:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><item-id>item-966e5739-d6da-4152-8275-7296708b67ca</item-id></data>

2022-10-02 23:09:05 | 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-3975eb70-5e65-4771-873f-91183d711767</value></node><item-id label="Item ID" type="text-single"><value>item-966e5739-d6da-4152-8275-7296708b67ca</value></item-id><item label="Item" type="text-multi"><value><item id="item-966e5739-d6da-4152-8275-7296708b67ca"><test>item-966e5739-d6da-4152-8275-7296708b67ca</test></item></value></item></result>

2022-10-02 23:09:05 | [Mutex] notify: [retrieved:item:item-966e5739-d6da-4152-8275-7296708b67ca:payload-matches:true:localhost]

2022-10-02 23:09:05 | [Mutex] received everything.

2022-10-02 23:09:05 | [Mutex] isItemNotified: retrieved:item:item-966e5739-d6da-4152-8275-7296708b67ca:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-10-02 23:09:05 |

2022-10-02 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:05 | ------------------------------------

2022-10-02 23:09:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-10-02 23:09:05 | 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-3975eb70-5e65-4771-873f-91183d711767</value><value>node-dfb56919-877a-428e-90c0-4b4ef27970ca</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-10-02 23:09:05 |

2022-10-02 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:05 | ------------------------------------

2022-10-02 23:09:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3975eb70-5e65-4771-873f-91183d711767)</node-pattern></data>

2022-10-02 23:09:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.100s
2022-10-02 23:09:04 |

2022-10-02 23:09:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:04 | ------------------------------------

2022-10-02 23:09:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 23:09:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.202s
2022-10-02 23:09:06 |

2022-10-02 23:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-10-02 23:09:06 | ------------------------------------

2022-10-02 23:09:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3975eb70-5e65-4771-873f-91183d711767</node><jids><value>admin@test-domain.com</value></jids></data>

2022-10-02 23:09:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>