Generated by TestNG with ReportNG at 22:25 PDT on Sunday 05 June 2022
root@21fb2cc9076b / 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.568s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2022-06-05 22:41:00 |

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

2022-06-05 22:41:00 | ------------------------------------

2022-06-05 22:41:00 | [Mutex] waiting for: [configured:node:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:node-80e64f49-a987-4751-a790-961e90c3d063]

2022-06-05 22:41:00 | [Mutex] received everything.

2022-06-05 22:41:00 | [Mutex] isItemNotified: configured:node:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:node-80e64f49-a987-4751-a790-961e90c3d063 :: true

2022-06-05 22:41:01 | [Mutex] waiting for: [received:nodes:58ec8ed3-db81-4b17-9ead-a2649c6ba4e4:localhost]

2022-06-05 22:41:01 | [Mutex] received everything.

2022-06-05 22:41:01 | [Mutex] isItemNotified: received:node:58ec8ed3-db81-4b17-9ead-a2649c6ba4e4:localhost:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a :: true

2022-06-05 22:41:01 | [Mutex] waiting for: [received:nodes:4b0ca659-763d-49c6-9dba-3692381fee31:localhost]

2022-06-05 22:41:01 | [Mutex] waiting for: [received:nodes:4b0ca659-763d-49c6-9dba-3692381fee31:localhost]

2022-06-05 22:41:01 | [Mutex] received everything.

2022-06-05 22:41:01 | [Mutex] isItemNotified: received:node:4b0ca659-763d-49c6-9dba-3692381fee31:localhost:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a :: false

createNodes 1.486s
2022-06-05 22:40:58 |

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

2022-06-05 22:40:58 | ------------------------------------

2022-06-05 22:40:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a</title></pubsub></data>

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

2022-06-05 22:40:59 | [Mutex] waiting for: [received:nodes:3843500c-01df-4c7e-8980-bc0702a59833:localhost]

2022-06-05 22:40:59 | [Mutex] received everything.

2022-06-05 22:40:59 | [Mutex] isItemNotified: received:node:3843500c-01df-4c7e-8980-bc0702a59833:localhost:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a :: true

createSubnodes 1.030s
2022-06-05 22:40:59 |

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

2022-06-05 22:40:59 | ------------------------------------

2022-06-05 22:40:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-80e64f49-a987-4751-a790-961e90c3d063</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 80e64f49-a987-4751-a790-961e90c3d063</title></pubsub></data>

2022-06-05 22:40: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-05 22:41:00 | [Mutex] waiting for: [received:nodes:6f7cb709-13c0-482d-b14d-d15cb77da051:localhost]

2022-06-05 22:41:00 | [Mutex] received everything.

2022-06-05 22:41:00 | [Mutex] isItemNotified: received:node:6f7cb709-13c0-482d-b14d-d15cb77da051:localhost:node-80e64f49-a987-4751-a790-961e90c3d063:Node 80e64f49-a987-4751-a790-961e90c3d063 :: true

deleteNodes 1.022s
2022-06-05 22:41:06 |

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

2022-06-05 22:41:06 | ------------------------------------

2022-06-05 22:41:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-80e64f49-a987-4751-a790-961e90c3d063</node></data>

2022-06-05 22:41: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-05 22:41:07 | [Mutex] waiting for: [received:nodes:a7fe9523-e339-46d1-a50f-372dab552981:localhost]

2022-06-05 22:41:07 | [Mutex] waiting for: [received:nodes:a7fe9523-e339-46d1-a50f-372dab552981:localhost]

2022-06-05 22:41:07 | [Mutex] received everything.

2022-06-05 22:41:07 | [Mutex] isItemNotified: received:node:a7fe9523-e339-46d1-a50f-372dab552981:localhost:node-80e64f49-a987-4751-a790-961e90c3d063:Node 80e64f49-a987-4751-a790-961e90c3d063 :: false

deleteSubnodes 1.139s
2022-06-05 22:41:04 |

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

2022-06-05 22:41:04 | ------------------------------------

2022-06-05 22:41:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node></data>

2022-06-05 22:41: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-05 22:41:06 | [Mutex] waiting for: [received:nodes:372f7895-4f12-4f97-9f25-2c578bbf14f4:localhost]

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

2022-06-05 22:41:06 | [Mutex] isItemNotified: received:node:372f7895-4f12-4f97-9f25-2c578bbf14f4:localhost:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a :: false

2022-06-05 22:41:06 | [Mutex] waiting for: [received:nodes:7d923a70-8b59-44c6-aea5-987561085ac6:localhost]

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

2022-06-05 22:41:06 | [Mutex] isItemNotified: received:node:7d923a70-8b59-44c6-aea5-987561085ac6:localhost:node-9d01909f-b4ec-4074-8eb7-db2b543dc19a:Node 9d01909f-b4ec-4074-8eb7-db2b543dc19a :: false

publishItemsToNodes 0.304s
2022-06-05 22:41:02 |

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

2022-06-05 22:41:02 | ------------------------------------

2022-06-05 22:41:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><item-id>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</item-id><entry><test>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</test></entry></data>

2022-06-05 22:41: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-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</value></item-id></result>

2022-06-05 22:41:03 | [Mutex] waiting for: [published:item:notifieditem-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a:admin@test-domain.com]

2022-06-05 22:41:03 | [Mutex] received everything.

2022-06-05 22:41:03 | [Mutex] isItemNotified: published:item:notifieditem-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a:admin@test-domain.com :: true

retractItemsFromNodes 0.236s
2022-06-05 22:41:03 |

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

2022-06-05 22:41:03 | ------------------------------------

2022-06-05 22:41:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><item-id>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</item-id></data>

2022-06-05 22:41:03 | 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-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</value></item-id></result>

2022-06-05 22:41:03 | [Mutex] received everything.

2022-06-05 22:41:03 | [Mutex] isItemNotified: retracted:item:notifieditem-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.157s
2022-06-05 22:41:03 |

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

2022-06-05 22:41:03 | ------------------------------------

2022-06-05 22:41:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><item-id>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</item-id></data>

2022-06-05 22:41: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-9d01909f-b4ec-4074-8eb7-db2b543dc19a</value></node><item-id label="Item ID" type="text-single"><value>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</value></item-id><item label="Item" type="text-multi"><value><item id="item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a"><test>item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a</test></item></value></item></result>

2022-06-05 22:41:03 | [Mutex] notify: [retrieved:item:item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a:payload-matches:true:localhost]

2022-06-05 22:41:03 | [Mutex] received everything.

2022-06-05 22:41:03 | [Mutex] isItemNotified: retrieved:item:item-c6a86e58-ecc3-4b01-a79d-01a4b0e5a16a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-06-05 22:41:03 |

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

2022-06-05 22:41:03 | ------------------------------------

2022-06-05 22:41: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-05 22:41:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-80e64f49-a987-4751-a790-961e90c3d063</value><value>test</value><value>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-06-05 22:41:03 |

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

2022-06-05 22:41:03 | ------------------------------------

2022-06-05 22:41: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-9d01909f-b4ec-4074-8eb7-db2b543dc19a)</node-pattern></data>

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

subscribeNodes 1.122s
2022-06-05 22:41:01 |

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

2022-06-05 22:41:01 | ------------------------------------

2022-06-05 22:41:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.222s
2022-06-05 22:41:03 |

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

2022-06-05 22:41:03 | ------------------------------------

2022-06-05 22:41:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9d01909f-b4ec-4074-8eb7-db2b543dc19a</node><jids><value>admin@test-domain.com</value></jids></data>

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