Generated by TestNG with ReportNG at 21:21 PST on Monday 30 November 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.305s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.620s
2020-11-30 21:36:11 |

2020-11-30 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-30 21:36:11 | ------------------------------------

2020-11-30 21:36:11 | [Mutex] isItemNotified: node_ul2zgw0203:exists :: false

2020-11-30 21:36:11 | [Mutex] waiting for: [node_ul2zgw0203:create_node]

2020-11-30 21:36:11 | [Mutex] received everything.

2020-11-30 21:36:11 | [Mutex] isItemNotified: node_ul2zgw0203:create_node:success :: true

2020-11-30 21:36:11 | [Mutex] waiting for: [node_ul2zgw0203:subscribe_node]

2020-11-30 21:36:11 | [Mutex] received everything.

2020-11-30 21:36:11 | [Mutex] isItemNotified: node_ul2zgw0203:subscribe_node:success :: true

2020-11-30 21:36:11 |


===== publishing normal message (to online)


2020-11-30 21:36:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:36:11 | command: <data><node>node_ul2zgw0203</node><entry><content>content_jcq6ql0204</content></entry></data>

2020-11-30 21:36:11 | target: http://localhost:8088

2020-11-30 21:36:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 21:36:11 | entity: <data><node>node_ul2zgw0203</node><entry><content>content_jcq6ql0204</content></entry></data>

2020-11-30 21:36:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:36:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:36:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be9e4449-f5c9-416a-8668-0cdec6577f2d</value></item-id></result>

2020-11-30 21:36:11 | contains: true

2020-11-30 21:36:11 | [Mutex] received everything.

2020-11-30 21:36:11 | [Mutex] isItemNotified: user_regularj8pubd0202@test-domain.com:message:received:content_jcq6ql0204 :: true

2020-11-30 21:36:11 |


===== publishing already old message - expecting message being filtered out (to online)


2020-11-30 21:36:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:36:11 | command: <data><node>node_ul2zgw0203</node><expire-at>2020-12-01T05:36:06Z</expire-at><entry><content>content_1fbgpg0205</content></entry></data>

2020-11-30 21:36:11 | target: http://localhost:8088

2020-11-30 21:36:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 21:36:11 | entity: <data><node>node_ul2zgw0203</node><expire-at>2020-12-01T05:36:06Z</expire-at><entry><content>content_1fbgpg0205</content></entry></data>

2020-11-30 21:36:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:36:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:36:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f1f2783-cd19-4ea1-be4a-7fed381fdc3f</value></item-id></result>

2020-11-30 21:36:11 | contains: true

2020-11-30 21:36:11 | [Mutex] waiting for: [user_regularj8pubd0202@test-domain.com:message:received:content_1fbgpg0205]

2020-11-30 21:36:26 | [Mutex] timeout. Not received [user_regularj8pubd0202@test-domain.com:message:received:content_1fbgpg0205]

2020-11-30 21:36:26 | [Mutex] isItemNotified: user_regularj8pubd0202@test-domain.com:message:received:content_1fbgpg0205 :: false

2020-11-30 21:36:26 |


===== publishing normal message (to offline)


2020-11-30 21:36:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:36:26 | command: <data><node>node_ul2zgw0203</node><entry><content>content_qsriri0206</content></entry></data>

2020-11-30 21:36:26 | target: http://localhost:8088

2020-11-30 21:36:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-30 21:36:26 | entity: <data><node>node_ul2zgw0203</node><entry><content>content_qsriri0206</content></entry></data>

2020-11-30 21:36:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:36:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:36:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01bd6c8f-1b58-4df8-8878-46c2dd6fde52</value></item-id></result>

2020-11-30 21:36:26 | contains: true

2020-11-30 21:36:31 | [Mutex] waiting for: [user_regularj8pubd0202@test-domain.com:message:received:content_qsriri0206]

2020-11-30 21:36:31 | [Mutex] received everything.

2020-11-30 21:36:31 | [Mutex] isItemNotified: user_regularj8pubd0202@test-domain.com:message:received:content_qsriri0206 :: true

2020-11-30 21:36:31 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-11-30 21:36:31 | [Mutex] received everything.

2020-11-30 21:36:31 | [Mutex] isItemNotified: node_ul2zgw0203:subscribe_node:success :: true

2020-11-30 21:36:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-30 21:36:31 | command: <data><node>node_ul2zgw0203</node><expire-at>2020-12-01T05:36:36Z</expire-at><entry><content>content_sknqeq0207</content></entry></data>

2020-11-30 21:36:31 | target: http://localhost:8088

2020-11-30 21:36:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-30 21:36:31 | entity: <data><node>node_ul2zgw0203</node><expire-at>2020-12-01T05:36:36Z</expire-at><entry><content>content_sknqeq0207</content></entry></data>

2020-11-30 21:36:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:36:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-30 21:36:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae545b9d-c109-4ed8-8e86-fb5db7b0a329</value></item-id></result>

2020-11-30 21:36:31 | contains: true

2020-11-30 21:36:39 | [Mutex] waiting for: [user_regularj8pubd0202@test-domain.com:message:received:content_sknqeq0207]

2020-11-30 21:36:54 | [Mutex] timeout. Not received [user_regularj8pubd0202@test-domain.com:message:received:content_sknqeq0207]

2020-11-30 21:36:54 | [Mutex] received everything.

2020-11-30 21:36:54 | [Mutex] isItemNotified: user_regularj8pubd0202@test-domain.com:message:received:content_sknqeq0207 :: false

2020-11-30 21:36:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sknqeq0207 :: true