Generated by TestNG with ReportNG at 22:33 PDT on Monday 16 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 9.622s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-05-16 22:48:01 |

2022-05-16 22:48:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:01 | ------------------------------------

2022-05-16 22:48:01 | [Mutex] waiting for: [configured:node:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a]

2022-05-16 22:48:01 | [Mutex] received everything.

2022-05-16 22:48:01 | [Mutex] isItemNotified: configured:node:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a :: true

2022-05-16 22:48:02 | [Mutex] waiting for: [received:nodes:c47b520f-812e-4716-82b4-3e9fe2b5b59d:localhost]

2022-05-16 22:48:02 | [Mutex] received everything.

2022-05-16 22:48:02 | [Mutex] isItemNotified: received:node:c47b520f-812e-4716-82b4-3e9fe2b5b59d:localhost:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221 :: true

2022-05-16 22:48:02 | [Mutex] waiting for: [received:nodes:9196451f-d227-4978-affa-eb956c34d108:localhost]

2022-05-16 22:48:02 | [Mutex] waiting for: [received:nodes:9196451f-d227-4978-affa-eb956c34d108:localhost]

2022-05-16 22:48:02 | [Mutex] received everything.

2022-05-16 22:48:02 | [Mutex] isItemNotified: received:node:9196451f-d227-4978-affa-eb956c34d108:localhost:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221 :: false

createNodes 1.378s
2022-05-16 22:47:58 |

2022-05-16 22:47:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:47:58 | ------------------------------------

2022-05-16 22:47:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221</title></pubsub></data>

2022-05-16 22:47:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 22:48:00 | [Mutex] waiting for: [received:nodes:23e88abf-889f-4a7e-88eb-90f8c9d80d2a:localhost]

2022-05-16 22:48:00 | [Mutex] received everything.

2022-05-16 22:48:00 | [Mutex] isItemNotified: received:node:23e88abf-889f-4a7e-88eb-90f8c9d80d2a:localhost:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221 :: true

createSubnodes 1.029s
2022-05-16 22:48:00 |

2022-05-16 22:48:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:00 | ------------------------------------

2022-05-16 22:48:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 701ca809-6d6e-4b7e-b884-9b7ee20ab75a</title></pubsub></data>

2022-05-16 22:48:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 22:48:01 | [Mutex] waiting for: [received:nodes:4acdbe2c-df9e-49a8-8821-a2d02f1e9a9b:localhost]

2022-05-16 22:48:01 | [Mutex] waiting for: [received:nodes:4acdbe2c-df9e-49a8-8821-a2d02f1e9a9b:localhost]

2022-05-16 22:48:01 | [Mutex] waiting for: [received:nodes:4acdbe2c-df9e-49a8-8821-a2d02f1e9a9b:localhost]

2022-05-16 22:48:01 | [Mutex] received everything.

2022-05-16 22:48:01 | [Mutex] isItemNotified: received:node:4acdbe2c-df9e-49a8-8821-a2d02f1e9a9b:localhost:node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a:Node 701ca809-6d6e-4b7e-b884-9b7ee20ab75a :: true

deleteNodes 1.016s
2022-05-16 22:48:06 |

2022-05-16 22:48:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:06 | ------------------------------------

2022-05-16 22:48:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a</node></data>

2022-05-16 22:48:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 22:48:07 | [Mutex] waiting for: [received:nodes:b65bcd4b-93b0-4da1-8ea5-698dd783022c:localhost]

2022-05-16 22:48:07 | [Mutex] received everything.

2022-05-16 22:48:07 | [Mutex] isItemNotified: received:node:b65bcd4b-93b0-4da1-8ea5-698dd783022c:localhost:node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a:Node 701ca809-6d6e-4b7e-b884-9b7ee20ab75a :: false

deleteSubnodes 1.128s
2022-05-16 22:48:05 |

2022-05-16 22:48:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:05 | ------------------------------------

2022-05-16 22:48:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node></data>

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

2022-05-16 22:48:06 | [Mutex] waiting for: [received:nodes:bd105892-3f85-4190-b6bd-cea7acc60c1f:localhost]

2022-05-16 22:48:06 | [Mutex] received everything.

2022-05-16 22:48:06 | [Mutex] isItemNotified: received:node:bd105892-3f85-4190-b6bd-cea7acc60c1f:localhost:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221 :: false

2022-05-16 22:48:06 | [Mutex] waiting for: [received:nodes:343b1266-7e57-49b7-9ca2-6b2614994142:localhost]

2022-05-16 22:48:06 | [Mutex] received everything.

2022-05-16 22:48:06 | [Mutex] isItemNotified: received:node:343b1266-7e57-49b7-9ca2-6b2614994142:localhost:node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221:Node f3a1d0dc-bce3-41a8-8f22-ef373afa6221 :: false

publishItemsToNodes 0.328s
2022-05-16 22:48:03 |

2022-05-16 22:48:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:03 | ------------------------------------

2022-05-16 22:48:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><item-id>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</item-id><entry><test>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</test></entry></data>

2022-05-16 22:48:03 | 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-a136756e-80b0-4e2e-9275-f28013e9f4d2</value></item-id></result>

2022-05-16 22:48:03 | [Mutex] received everything.

2022-05-16 22:48:03 | [Mutex] isItemNotified: published:item:notifieditem-a136756e-80b0-4e2e-9275-f28013e9f4d2:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-05-16 22:48:04 |

2022-05-16 22:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:04 | ------------------------------------

2022-05-16 22:48:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><item-id>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</item-id></data>

2022-05-16 22:48:04 | 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-a136756e-80b0-4e2e-9275-f28013e9f4d2</value></item-id></result>

2022-05-16 22:48:04 | [Mutex] received everything.

2022-05-16 22:48:04 | [Mutex] isItemNotified: retracted:item:notifieditem-a136756e-80b0-4e2e-9275-f28013e9f4d2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2022-05-16 22:48:03 |

2022-05-16 22:48:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:03 | ------------------------------------

2022-05-16 22:48:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><item-id>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</item-id></data>

2022-05-16 22:48:04 | 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-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</value></node><item-id label="Item ID" type="text-single"><value>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</value></item-id><item label="Item" type="text-multi"><value><item id="item-a136756e-80b0-4e2e-9275-f28013e9f4d2"><test>item-a136756e-80b0-4e2e-9275-f28013e9f4d2</test></item></value></item></result>

2022-05-16 22:48:04 | [Mutex] notify: [retrieved:item:item-a136756e-80b0-4e2e-9275-f28013e9f4d2:payload-matches:true:localhost]

2022-05-16 22:48:04 | [Mutex] received everything.

2022-05-16 22:48:04 | [Mutex] isItemNotified: retrieved:item:item-a136756e-80b0-4e2e-9275-f28013e9f4d2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-05-16 22:48:04 |

2022-05-16 22:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:04 | ------------------------------------

2022-05-16 22:48:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-16 22:48:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</value><value>test</value><value>node-701ca809-6d6e-4b7e-b884-9b7ee20ab75a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-16 22:48:04 |

2022-05-16 22:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:04 | ------------------------------------

2022-05-16 22:48:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221)</node-pattern></data>

2022-05-16 22:48:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.128s
2022-05-16 22:48:02 |

2022-05-16 22:48:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:02 | ------------------------------------

2022-05-16 22:48:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.275s
2022-05-16 22:48:04 |

2022-05-16 22:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 22:48:04 | ------------------------------------

2022-05-16 22:48:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f3a1d0dc-bce3-41a8-8f22-ef373afa6221</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-16 22:48:04 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>