Generated by TestNG with ReportNG at 21:15 PST on Monday 16 January 2023
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.274s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.060s
2023-01-16 21:30:16 |

2023-01-16 21:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:16 | ------------------------------------

2023-01-16 21:30:16 | [Mutex] waiting for: [configured:node:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:node-f35e88d4-0d4c-4e0e-9242-e354827b62a6]

2023-01-16 21:30:16 | [Mutex] received everything.

2023-01-16 21:30:16 | [Mutex] isItemNotified: configured:node:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:node-f35e88d4-0d4c-4e0e-9242-e354827b62a6 :: true

2023-01-16 21:30:17 | [Mutex] waiting for: [received:nodes:f4a0e980-1160-4543-9053-c3c35ed4677d:localhost]

2023-01-16 21:30:17 | [Mutex] received everything.

2023-01-16 21:30:17 | [Mutex] isItemNotified: received:node:f4a0e980-1160-4543-9053-c3c35ed4677d:localhost:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:Node 4988d993-e3d0-4c3d-a919-56245f2ed31d :: true

2023-01-16 21:30:17 | [Mutex] waiting for: [received:nodes:bb074938-b4f9-4f2f-8515-480a6556b43f:localhost]

2023-01-16 21:30:17 | [Mutex] waiting for: [received:nodes:bb074938-b4f9-4f2f-8515-480a6556b43f:localhost]

2023-01-16 21:30:17 | [Mutex] waiting for: [received:nodes:bb074938-b4f9-4f2f-8515-480a6556b43f:localhost]

2023-01-16 21:30:17 | [Mutex] waiting for: [received:nodes:bb074938-b4f9-4f2f-8515-480a6556b43f:localhost]

2023-01-16 21:30:17 | [Mutex] received everything.

2023-01-16 21:30:17 | [Mutex] isItemNotified: received:node:bb074938-b4f9-4f2f-8515-480a6556b43f:localhost:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:Node 4988d993-e3d0-4c3d-a919-56245f2ed31d :: false

createNodes 1.397s
2023-01-16 21:30:14 |

2023-01-16 21:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:14 | ------------------------------------

2023-01-16 21:30:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4988d993-e3d0-4c3d-a919-56245f2ed31d</title></pubsub></data>

2023-01-16 21:30:14 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-16 21:30:15 | [Mutex] waiting for: [received:nodes:da7caefd-0193-43fe-8e08-640f06de32c9:localhost]

2023-01-16 21:30:15 | [Mutex] waiting for: [received:nodes:da7caefd-0193-43fe-8e08-640f06de32c9:localhost]

2023-01-16 21:30:15 | [Mutex] waiting for: [received:nodes:da7caefd-0193-43fe-8e08-640f06de32c9:localhost]

2023-01-16 21:30:15 | [Mutex] waiting for: [received:nodes:da7caefd-0193-43fe-8e08-640f06de32c9:localhost]

2023-01-16 21:30:15 | [Mutex] received everything.

2023-01-16 21:30:15 | [Mutex] isItemNotified: received:node:da7caefd-0193-43fe-8e08-640f06de32c9:localhost:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:Node 4988d993-e3d0-4c3d-a919-56245f2ed31d :: true

createSubnodes 1.021s
2023-01-16 21:30:15 |

2023-01-16 21:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:15 | ------------------------------------

2023-01-16 21:30:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f35e88d4-0d4c-4e0e-9242-e354827b62a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f35e88d4-0d4c-4e0e-9242-e354827b62a6</title></pubsub></data>

2023-01-16 21:30:15 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-16 21:30:16 | [Mutex] waiting for: [received:nodes:6a049947-3be3-4721-9d47-0377f1cadeda:localhost]

2023-01-16 21:30:16 | [Mutex] waiting for: [received:nodes:6a049947-3be3-4721-9d47-0377f1cadeda:localhost]

2023-01-16 21:30:16 | [Mutex] waiting for: [received:nodes:6a049947-3be3-4721-9d47-0377f1cadeda:localhost]

2023-01-16 21:30:16 | [Mutex] waiting for: [received:nodes:6a049947-3be3-4721-9d47-0377f1cadeda:localhost]

2023-01-16 21:30:16 | [Mutex] received everything.

2023-01-16 21:30:16 | [Mutex] isItemNotified: received:node:6a049947-3be3-4721-9d47-0377f1cadeda:localhost:node-f35e88d4-0d4c-4e0e-9242-e354827b62a6:Node f35e88d4-0d4c-4e0e-9242-e354827b62a6 :: true

deleteNodes 1.022s
2023-01-16 21:30:21 |

2023-01-16 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:21 | ------------------------------------

2023-01-16 21:30:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f35e88d4-0d4c-4e0e-9242-e354827b62a6</node></data>

2023-01-16 21:30:21 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-16 21:30:22 | [Mutex] waiting for: [received:nodes:91a68fc2-67e8-4893-bfa1-6eb06320052b:localhost]

2023-01-16 21:30:22 | [Mutex] waiting for: [received:nodes:91a68fc2-67e8-4893-bfa1-6eb06320052b:localhost]

2023-01-16 21:30:22 | [Mutex] waiting for: [received:nodes:91a68fc2-67e8-4893-bfa1-6eb06320052b:localhost]

2023-01-16 21:30:22 | [Mutex] received everything.

2023-01-16 21:30:22 | [Mutex] isItemNotified: received:node:91a68fc2-67e8-4893-bfa1-6eb06320052b:localhost:node-f35e88d4-0d4c-4e0e-9242-e354827b62a6:Node f35e88d4-0d4c-4e0e-9242-e354827b62a6 :: false

deleteSubnodes 1.135s
2023-01-16 21:30:20 |

2023-01-16 21:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:20 | ------------------------------------

2023-01-16 21:30:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node></data>

2023-01-16 21:30:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-01-16 21:30:21 | [Mutex] waiting for: [received:nodes:b6e593c2-4359-49fa-b12b-f4724a6c22c3:localhost]

2023-01-16 21:30:21 | [Mutex] waiting for: [received:nodes:b6e593c2-4359-49fa-b12b-f4724a6c22c3:localhost]

2023-01-16 21:30:21 | [Mutex] waiting for: [received:nodes:b6e593c2-4359-49fa-b12b-f4724a6c22c3:localhost]

2023-01-16 21:30:21 | [Mutex] waiting for: [received:nodes:b6e593c2-4359-49fa-b12b-f4724a6c22c3:localhost]

2023-01-16 21:30:21 | [Mutex] received everything.

2023-01-16 21:30:21 | [Mutex] isItemNotified: received:node:b6e593c2-4359-49fa-b12b-f4724a6c22c3:localhost:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:Node 4988d993-e3d0-4c3d-a919-56245f2ed31d :: false

2023-01-16 21:30:21 | [Mutex] waiting for: [received:nodes:bf2d67fe-c308-4616-a56f-6a77fb820d0e:localhost]

2023-01-16 21:30:21 | [Mutex] received everything.

2023-01-16 21:30:21 | [Mutex] isItemNotified: received:node:bf2d67fe-c308-4616-a56f-6a77fb820d0e:localhost:node-4988d993-e3d0-4c3d-a919-56245f2ed31d:Node 4988d993-e3d0-4c3d-a919-56245f2ed31d :: false

publishItemsToNodes 0.212s
2023-01-16 21:30:18 |

2023-01-16 21:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:18 | ------------------------------------

2023-01-16 21:30:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><item-id>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</item-id><entry><test>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</test></entry></data>

2023-01-16 21:30:18 | 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-a008ecfb-ef07-40f4-a87d-33b691d2f54e</value></item-id></result>

2023-01-16 21:30:18 | [Mutex] waiting for: [published:item:notifieditem-a008ecfb-ef07-40f4-a87d-33b691d2f54e:admin@test-domain.com]

2023-01-16 21:30:18 | [Mutex] received everything.

2023-01-16 21:30:18 | [Mutex] isItemNotified: published:item:notifieditem-a008ecfb-ef07-40f4-a87d-33b691d2f54e:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2023-01-16 21:30:19 |

2023-01-16 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:19 | ------------------------------------

2023-01-16 21:30:19 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><item-id>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</item-id></data>

2023-01-16 21:30:19 | 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-a008ecfb-ef07-40f4-a87d-33b691d2f54e</value></item-id></result>

2023-01-16 21:30:19 | [Mutex] received everything.

2023-01-16 21:30:19 | [Mutex] isItemNotified: retracted:item:notifieditem-a008ecfb-ef07-40f4-a87d-33b691d2f54e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.278s
2023-01-16 21:30:18 |

2023-01-16 21:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:18 | ------------------------------------

2023-01-16 21:30:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><item-id>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</item-id></data>

2023-01-16 21:30:19 | 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-4988d993-e3d0-4c3d-a919-56245f2ed31d</value></node><item-id type="text-single" label="Item ID"><value>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</value></item-id><item type="text-multi" label="Item"><value><item id="item-a008ecfb-ef07-40f4-a87d-33b691d2f54e"><test>item-a008ecfb-ef07-40f4-a87d-33b691d2f54e</test></item></value></item></result>

2023-01-16 21:30:19 | [Mutex] notify: [retrieved:item:item-a008ecfb-ef07-40f4-a87d-33b691d2f54e:payload-matches:true:localhost]

2023-01-16 21:30:19 | [Mutex] received everything.

2023-01-16 21:30:19 | [Mutex] isItemNotified: retrieved:item:item-a008ecfb-ef07-40f4-a87d-33b691d2f54e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-01-16 21:30:19 |

2023-01-16 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:19 | ------------------------------------

2023-01-16 21:30:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-01-16 21:30:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</value><value>node-f35e88d4-0d4c-4e0e-9242-e354827b62a6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-01-16 21:30:19 |

2023-01-16 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:19 | ------------------------------------

2023-01-16 21:30:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4988d993-e3d0-4c3d-a919-56245f2ed31d)</node-pattern></data>

2023-01-16 21:30:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.103s
2023-01-16 21:30:17 |

2023-01-16 21:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:17 | ------------------------------------

2023-01-16 21:30:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-01-16 21:30:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.115s
2023-01-16 21:30:19 |

2023-01-16 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:30:19 | ------------------------------------

2023-01-16 21:30:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4988d993-e3d0-4c3d-a919-56245f2ed31d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-01-16 21:30:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>