Generated by TestNG with ReportNG at 13:34 PST on Wednesday 16 December 2020
root@43fec6d4badf / 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.547s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.769s
2020-12-16 13:50:53 |

2020-12-16 13:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-16 13:50:53 | ------------------------------------

2020-12-16 13:50:53 | [Mutex] isItemNotified: node_d3ln6g0203:exists :: false

2020-12-16 13:50:53 | [Mutex] waiting for: [node_d3ln6g0203:create_node]

2020-12-16 13:50:53 | [Mutex] received everything.

2020-12-16 13:50:53 | [Mutex] isItemNotified: node_d3ln6g0203:create_node:success :: true

2020-12-16 13:50:53 | [Mutex] waiting for: [node_d3ln6g0203:subscribe_node]

2020-12-16 13:50:53 | [Mutex] waiting for: [node_d3ln6g0203:subscribe_node]

2020-12-16 13:50:53 | [Mutex] received everything.

2020-12-16 13:50:53 | [Mutex] isItemNotified: node_d3ln6g0203:subscribe_node:success :: true

2020-12-16 13:50:53 |


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


2020-12-16 13:50:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:50:53 | command: <data><node>node_d3ln6g0203</node><entry><content>content_7vitga0204</content></entry></data>

2020-12-16 13:50:53 | target: http://localhost:8088

2020-12-16 13:50:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:50:53 | entity: <data><node>node_d3ln6g0203</node><entry><content>content_7vitga0204</content></entry></data>

2020-12-16 13:50:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:50:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:50:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>02257cd1-f428-46a7-92d9-e133e8c4c0cf</value></item-id></result>

2020-12-16 13:50:53 | contains: true

2020-12-16 13:50:53 | [Mutex] received everything.

2020-12-16 13:50:53 | [Mutex] isItemNotified: user_regularxd3ij30202@test-domain.com:message:received:content_7vitga0204 :: true

2020-12-16 13:50:53 |


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


2020-12-16 13:50:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:50:53 | command: <data><node>node_d3ln6g0203</node><expire-at>2020-12-16T21:50:48Z</expire-at><entry><content>content_p4hkeg0205</content></entry></data>

2020-12-16 13:50:53 | target: http://localhost:8088

2020-12-16 13:50:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:50:53 | entity: <data><node>node_d3ln6g0203</node><expire-at>2020-12-16T21:50:48Z</expire-at><entry><content>content_p4hkeg0205</content></entry></data>

2020-12-16 13:50:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:50:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:50:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>43234d5a-cb9b-4f85-b495-5ab8cd86c60e</value></item-id></result>

2020-12-16 13:50:53 | contains: true

2020-12-16 13:50:53 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_p4hkeg0205]

2020-12-16 13:51:08 | [Mutex] timeout. Not received [user_regularxd3ij30202@test-domain.com:message:received:content_p4hkeg0205]

2020-12-16 13:51:08 | [Mutex] isItemNotified: user_regularxd3ij30202@test-domain.com:message:received:content_p4hkeg0205 :: false

2020-12-16 13:51:08 |


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


2020-12-16 13:51:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:08 | command: <data><node>node_d3ln6g0203</node><entry><content>content_su0int0206</content></entry></data>

2020-12-16 13:51:08 | target: http://localhost:8088

2020-12-16 13:51:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:51:08 | entity: <data><node>node_d3ln6g0203</node><entry><content>content_su0int0206</content></entry></data>

2020-12-16 13:51:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b2603311-7f8e-4803-a58a-d1e2d0dea810</value></item-id></result>

2020-12-16 13:51:08 | contains: true

2020-12-16 13:51:14 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_su0int0206]

2020-12-16 13:51:14 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_su0int0206]

2020-12-16 13:51:14 | [Mutex] received everything.

2020-12-16 13:51:14 | [Mutex] isItemNotified: user_regularxd3ij30202@test-domain.com:message:received:content_su0int0206 :: true

2020-12-16 13:51:14 |


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


2020-12-16 13:51:14 | [Mutex] received everything.

2020-12-16 13:51:14 | [Mutex] isItemNotified: node_d3ln6g0203:subscribe_node:success :: true

2020-12-16 13:51:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:51:14 | command: <data><node>node_d3ln6g0203</node><expire-at>2020-12-16T21:51:19Z</expire-at><entry><content>content_omg64c0207</content></entry></data>

2020-12-16 13:51:14 | target: http://localhost:8088

2020-12-16 13:51:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:51:14 | entity: <data><node>node_d3ln6g0203</node><expire-at>2020-12-16T21:51:19Z</expire-at><entry><content>content_omg64c0207</content></entry></data>

2020-12-16 13:51:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:51:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:51:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ea2263ef-2ff4-4d9e-92d0-da86755b8372</value></item-id></result>

2020-12-16 13:51:14 | contains: true

2020-12-16 13:51:22 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_omg64c0207]

2020-12-16 13:51:22 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_omg64c0207]

2020-12-16 13:51:22 | [Mutex] waiting for: [user_regularxd3ij30202@test-domain.com:message:received:content_omg64c0207]

2020-12-16 13:51:37 | [Mutex] timeout. Not received [user_regularxd3ij30202@test-domain.com:message:received:content_omg64c0207]

2020-12-16 13:51:37 | [Mutex] received everything.

2020-12-16 13:51:37 | [Mutex] isItemNotified: user_regularxd3ij30202@test-domain.com:message:received:content_omg64c0207 :: false

2020-12-16 13:51:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_omg64c0207 :: true