Generated by TestNG with ReportNG at 22:46 PDT on Thursday 30 June 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.522s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-06-30 23:02:01 |

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

2022-06-30 23:02:01 | ------------------------------------

2022-06-30 23:02:01 | [Mutex] waiting for: [configured:node:node-ee808de1-457d-409d-a55e-06189aa08299:node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5]

2022-06-30 23:02:01 | [Mutex] received everything.

2022-06-30 23:02:01 | [Mutex] isItemNotified: configured:node:node-ee808de1-457d-409d-a55e-06189aa08299:node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5 :: true

2022-06-30 23:02:02 | [Mutex] waiting for: [received:nodes:62e36b61-00ab-423c-a169-f286f90e95c7:localhost]

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

2022-06-30 23:02:02 | [Mutex] isItemNotified: received:node:62e36b61-00ab-423c-a169-f286f90e95c7:localhost:node-ee808de1-457d-409d-a55e-06189aa08299:Node ee808de1-457d-409d-a55e-06189aa08299 :: true

2022-06-30 23:02:02 | [Mutex] waiting for: [received:nodes:c933e0b0-50db-4c77-8f81-29e1a1f13f97:localhost]

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

2022-06-30 23:02:02 | [Mutex] isItemNotified: received:node:c933e0b0-50db-4c77-8f81-29e1a1f13f97:localhost:node-ee808de1-457d-409d-a55e-06189aa08299:Node ee808de1-457d-409d-a55e-06189aa08299 :: false

createNodes 1.417s
2022-06-30 23:01:58 |

2022-06-30 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-30 23:01:58 | ------------------------------------

2022-06-30 23:01:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee808de1-457d-409d-a55e-06189aa08299</title></pubsub></data>

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

2022-06-30 23:02:00 | [Mutex] waiting for: [received:nodes:198b2fd4-734c-4ef0-88a8-248ccca2aaa0:localhost]

2022-06-30 23:02:00 | [Mutex] received everything.

2022-06-30 23:02:00 | [Mutex] isItemNotified: received:node:198b2fd4-734c-4ef0-88a8-248ccca2aaa0:localhost:node-ee808de1-457d-409d-a55e-06189aa08299:Node ee808de1-457d-409d-a55e-06189aa08299 :: true

createSubnodes 1.026s
2022-06-30 23:02:00 |

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

2022-06-30 23:02:00 | ------------------------------------

2022-06-30 23:02:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0c174cbe-c0b1-4c47-930d-22d4662f3ce5</title></pubsub></data>

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

2022-06-30 23:02:01 | [Mutex] waiting for: [received:nodes:430211d0-e140-410a-b897-1a3261522fc2:localhost]

2022-06-30 23:02:01 | [Mutex] received everything.

2022-06-30 23:02:01 | [Mutex] isItemNotified: received:node:430211d0-e140-410a-b897-1a3261522fc2:localhost:node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5:Node 0c174cbe-c0b1-4c47-930d-22d4662f3ce5 :: true

deleteNodes 1.019s
2022-06-30 23:02:06 |

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

2022-06-30 23:02:06 | ------------------------------------

2022-06-30 23:02:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5</node></data>

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

2022-06-30 23:02:07 | [Mutex] waiting for: [received:nodes:b3200481-31f4-4e2f-b1e6-22cfa33f3d07:localhost]

2022-06-30 23:02:07 | [Mutex] waiting for: [received:nodes:b3200481-31f4-4e2f-b1e6-22cfa33f3d07:localhost]

2022-06-30 23:02:07 | [Mutex] waiting for: [received:nodes:b3200481-31f4-4e2f-b1e6-22cfa33f3d07:localhost]

2022-06-30 23:02:07 | [Mutex] received everything.

2022-06-30 23:02:07 | [Mutex] isItemNotified: received:node:b3200481-31f4-4e2f-b1e6-22cfa33f3d07:localhost:node-0c174cbe-c0b1-4c47-930d-22d4662f3ce5:Node 0c174cbe-c0b1-4c47-930d-22d4662f3ce5 :: false

deleteSubnodes 1.126s
2022-06-30 23:02:05 |

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

2022-06-30 23:02:05 | ------------------------------------

2022-06-30 23:02:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node></data>

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

2022-06-30 23:02:06 | [Mutex] waiting for: [received:nodes:611fd2fb-6248-4924-bfd0-42e8a5a7adb3:localhost]

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

2022-06-30 23:02:06 | [Mutex] isItemNotified: received:node:611fd2fb-6248-4924-bfd0-42e8a5a7adb3:localhost:node-ee808de1-457d-409d-a55e-06189aa08299:Node ee808de1-457d-409d-a55e-06189aa08299 :: false

2022-06-30 23:02:06 | [Mutex] waiting for: [received:nodes:7cd21271-e6b5-4557-b017-5a731c5e4930:localhost]

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

2022-06-30 23:02:06 | [Mutex] isItemNotified: received:node:7cd21271-e6b5-4557-b017-5a731c5e4930:localhost:node-ee808de1-457d-409d-a55e-06189aa08299:Node ee808de1-457d-409d-a55e-06189aa08299 :: false

publishItemsToNodes 0.263s
2022-06-30 23:02:03 |

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

2022-06-30 23:02:03 | ------------------------------------

2022-06-30 23:02:03 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><item-id>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</item-id><entry><test>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</test></entry></data>

2022-06-30 23:02: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-ddca788f-8be9-4642-9dc2-317a1c9acb0d</value></item-id></result>

2022-06-30 23:02:03 | [Mutex] waiting for: [published:item:notifieditem-ddca788f-8be9-4642-9dc2-317a1c9acb0d:admin@test-domain.com]

2022-06-30 23:02:03 | [Mutex] received everything.

2022-06-30 23:02:03 | [Mutex] isItemNotified: published:item:notifieditem-ddca788f-8be9-4642-9dc2-317a1c9acb0d:admin@test-domain.com :: true

retractItemsFromNodes 0.261s
2022-06-30 23:02:03 |

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

2022-06-30 23:02:03 | ------------------------------------

2022-06-30 23:02:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><item-id>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</item-id></data>

2022-06-30 23:02: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-ddca788f-8be9-4642-9dc2-317a1c9acb0d</value></item-id></result>

2022-06-30 23:02:04 | [Mutex] waiting for: [retracted:item:notifieditem-ddca788f-8be9-4642-9dc2-317a1c9acb0d:admin@test-domain.com]

2022-06-30 23:02:04 | [Mutex] received everything.

2022-06-30 23:02:04 | [Mutex] isItemNotified: retracted:item:notifieditem-ddca788f-8be9-4642-9dc2-317a1c9acb0d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.190s
2022-06-30 23:02:03 |

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

2022-06-30 23:02:03 | ------------------------------------

2022-06-30 23:02:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><item-id>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</item-id></data>

2022-06-30 23:02:03 | 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-ee808de1-457d-409d-a55e-06189aa08299</value></node><item-id label="Item ID" type="text-single"><value>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</value></item-id><item label="Item" type="text-multi"><value><item id="item-ddca788f-8be9-4642-9dc2-317a1c9acb0d"><test>item-ddca788f-8be9-4642-9dc2-317a1c9acb0d</test></item></value></item></result>

2022-06-30 23:02:03 | [Mutex] notify: [retrieved:item:item-ddca788f-8be9-4642-9dc2-317a1c9acb0d:payload-matches:true:localhost]

2022-06-30 23:02:03 | [Mutex] received everything.

2022-06-30 23:02:03 | [Mutex] isItemNotified: retrieved:item:item-ddca788f-8be9-4642-9dc2-317a1c9acb0d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-06-30 23:02:03 |

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

2022-06-30 23:02:03 | ------------------------------------

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

2022-06-30 23:02:03 | 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-0c174cbe-c0b1-4c47-930d-22d4662f3ce5</value><value>node-ee808de1-457d-409d-a55e-06189aa08299</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2022-06-30 23:02:03 |

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

2022-06-30 23:02:03 | ------------------------------------

2022-06-30 23:02:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee808de1-457d-409d-a55e-06189aa08299)</node-pattern></data>

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

subscribeNodes 1.114s
2022-06-30 23:02:02 |

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

2022-06-30 23:02:02 | ------------------------------------

2022-06-30 23:02:02 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-30 23:02: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.253s
2022-06-30 23:02:04 |

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

2022-06-30 23:02:04 | ------------------------------------

2022-06-30 23:02:04 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee808de1-457d-409d-a55e-06189aa08299</node><jids><value>admin@test-domain.com</value></jids></data>

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