Generated by TestNG with ReportNG at 22:21 PDT on Tuesday 06 April 2021
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.657s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.742s
2021-04-06 22:38:28 |

2021-04-06 22:38:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-06 22:38:28 | ------------------------------------

2021-04-06 22:38:28 | [Mutex] isItemNotified: node_7mht6x0203:exists :: false

2021-04-06 22:38:28 | [Mutex] waiting for: [node_7mht6x0203:create_node]

2021-04-06 22:38:28 | [Mutex] received everything.

2021-04-06 22:38:28 | [Mutex] isItemNotified: node_7mht6x0203:create_node:success :: true

2021-04-06 22:38:28 | [Mutex] waiting for: [node_7mht6x0203:subscribe_node]

2021-04-06 22:38:28 | [Mutex] waiting for: [node_7mht6x0203:subscribe_node]

2021-04-06 22:38:28 | [Mutex] received everything.

2021-04-06 22:38:28 | [Mutex] isItemNotified: node_7mht6x0203:subscribe_node:success :: true

2021-04-06 22:38:28 |


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


2021-04-06 22:38:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-06 22:38:28 | command: <data><node>node_7mht6x0203</node><entry><content>content_64280y0204</content></entry></data>

2021-04-06 22:38:28 | target: http://localhost:8088

2021-04-06 22:38:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-06 22:38:28 | entity: <data><node>node_7mht6x0203</node><entry><content>content_64280y0204</content></entry></data>

2021-04-06 22:38:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:38:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-06 22:38:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>60979912-8725-4a81-99ed-28657232ed74</value></item-id></result>

2021-04-06 22:38:28 | contains: true

2021-04-06 22:38:28 | [Mutex] waiting for: [user_regularpe38z80202@test-domain.com:message:received:content_64280y0204]

2021-04-06 22:38:28 | [Mutex] received everything.

2021-04-06 22:38:28 | [Mutex] isItemNotified: user_regularpe38z80202@test-domain.com:message:received:content_64280y0204 :: true

2021-04-06 22:38:28 |


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


2021-04-06 22:38:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-06 22:38:28 | command: <data><node>node_7mht6x0203</node><expire-at>2021-04-07T05:38:23Z</expire-at><entry><content>content_lte0ka0205</content></entry></data>

2021-04-06 22:38:28 | target: http://localhost:8088

2021-04-06 22:38:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-06 22:38:28 | entity: <data><node>node_7mht6x0203</node><expire-at>2021-04-07T05:38:23Z</expire-at><entry><content>content_lte0ka0205</content></entry></data>

2021-04-06 22:38:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:38:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-06 22:38:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4a859fbe-1c02-479e-bed7-cd6d58810a82</value></item-id></result>

2021-04-06 22:38:28 | contains: true

2021-04-06 22:38:28 | [Mutex] waiting for: [user_regularpe38z80202@test-domain.com:message:received:content_lte0ka0205]

2021-04-06 22:38:43 | [Mutex] timeout. Not received [user_regularpe38z80202@test-domain.com:message:received:content_lte0ka0205]

2021-04-06 22:38:43 | [Mutex] isItemNotified: user_regularpe38z80202@test-domain.com:message:received:content_lte0ka0205 :: false

2021-04-06 22:38:43 |


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


2021-04-06 22:38:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-06 22:38:43 | command: <data><node>node_7mht6x0203</node><entry><content>content_1ut11p0206</content></entry></data>

2021-04-06 22:38:43 | target: http://localhost:8088

2021-04-06 22:38:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-06 22:38:43 | entity: <data><node>node_7mht6x0203</node><entry><content>content_1ut11p0206</content></entry></data>

2021-04-06 22:38:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:38:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-06 22:38:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ebef0c7a-cfa1-4c02-a6c5-92f04a84f496</value></item-id></result>

2021-04-06 22:38:43 | contains: true

2021-04-06 22:38:48 | [Mutex] waiting for: [user_regularpe38z80202@test-domain.com:message:received:content_1ut11p0206]

2021-04-06 22:38:48 | [Mutex] received everything.

2021-04-06 22:38:48 | [Mutex] isItemNotified: user_regularpe38z80202@test-domain.com:message:received:content_1ut11p0206 :: true

2021-04-06 22:38:48 |


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


2021-04-06 22:38:48 | [Mutex] received everything.

2021-04-06 22:38:48 | [Mutex] isItemNotified: node_7mht6x0203:subscribe_node:success :: true

2021-04-06 22:38:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-06 22:38:48 | command: <data><node>node_7mht6x0203</node><expire-at>2021-04-07T05:38:53Z</expire-at><entry><content>content_awumrn0207</content></entry></data>

2021-04-06 22:38:48 | target: http://localhost:8088

2021-04-06 22:38:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-06 22:38:48 | entity: <data><node>node_7mht6x0203</node><expire-at>2021-04-07T05:38:53Z</expire-at><entry><content>content_awumrn0207</content></entry></data>

2021-04-06 22:38:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 05:38:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-06 22:38:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f2b35849-62e8-481e-a675-61451c67f9b9</value></item-id></result>

2021-04-06 22:38:48 | contains: true

2021-04-06 22:38:57 | [Mutex] waiting for: [user_regularpe38z80202@test-domain.com:message:received:content_awumrn0207]

2021-04-06 22:38:57 | [Mutex] waiting for: [user_regularpe38z80202@test-domain.com:message:received:content_awumrn0207]

2021-04-06 22:39:12 | [Mutex] timeout. Not received [user_regularpe38z80202@test-domain.com:message:received:content_awumrn0207]

2021-04-06 22:39:12 | [Mutex] received everything.

2021-04-06 22:39:12 | [Mutex] isItemNotified: user_regularpe38z80202@test-domain.com:message:received:content_awumrn0207 :: false

2021-04-06 22:39:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_awumrn0207 :: true