Generated by TestNG with ReportNG at 22:28 PDT on Monday 13 September 2021
root@f29ef40080b5 / 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.468s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2021-09-13 22:42:21 |

2021-09-13 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-13 22:42:21 | ------------------------------------

2021-09-13 22:42:21 | [Mutex] isItemNotified: node_psevlv0203:exists :: false

2021-09-13 22:42:21 | [Mutex] waiting for: [node_psevlv0203:create_node]

2021-09-13 22:42:21 | [Mutex] received everything.

2021-09-13 22:42:21 | [Mutex] isItemNotified: node_psevlv0203:create_node:success :: true

2021-09-13 22:42:21 | [Mutex] waiting for: [node_psevlv0203:subscribe_node]

2021-09-13 22:42:21 | [Mutex] waiting for: [node_psevlv0203:subscribe_node]

2021-09-13 22:42:21 | [Mutex] received everything.

2021-09-13 22:42:21 | [Mutex] isItemNotified: node_psevlv0203:subscribe_node:success :: true

2021-09-13 22:42:21 |


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


2021-09-13 22:42:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 22:42:21 | command: <data><node>node_psevlv0203</node><entry><content>content_yw5ns60204</content></entry></data>

2021-09-13 22:42:21 | target: http://localhost:8088

2021-09-13 22:42:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-13 22:42:21 | entity: <data><node>node_psevlv0203</node><entry><content>content_yw5ns60204</content></entry></data>

2021-09-13 22:42:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:42:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 22:42:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>727ad074-48ef-4d97-9c45-8d31ea6bb5e7</value></item-id></result>

2021-09-13 22:42:21 | contains: true

2021-09-13 22:42:21 | [Mutex] received everything.

2021-09-13 22:42:21 | [Mutex] isItemNotified: user_regularms3sls0202@test-domain.com:message:received:content_yw5ns60204 :: true

2021-09-13 22:42:21 |


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


2021-09-13 22:42:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 22:42:21 | command: <data><node>node_psevlv0203</node><expire-at>2021-09-14T05:42:16Z</expire-at><entry><content>content_6r8ehe0205</content></entry></data>

2021-09-13 22:42:21 | target: http://localhost:8088

2021-09-13 22:42:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-13 22:42:21 | entity: <data><node>node_psevlv0203</node><expire-at>2021-09-14T05:42:16Z</expire-at><entry><content>content_6r8ehe0205</content></entry></data>

2021-09-13 22:42:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:42:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 22:42:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3eafe922-a4d3-4720-b534-5835b2a6f4af</value></item-id></result>

2021-09-13 22:42:21 | contains: true

2021-09-13 22:42:21 | [Mutex] waiting for: [user_regularms3sls0202@test-domain.com:message:received:content_6r8ehe0205]

2021-09-13 22:42:36 | [Mutex] timeout. Not received [user_regularms3sls0202@test-domain.com:message:received:content_6r8ehe0205]

2021-09-13 22:42:36 | [Mutex] isItemNotified: user_regularms3sls0202@test-domain.com:message:received:content_6r8ehe0205 :: false

2021-09-13 22:42:36 |


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


2021-09-13 22:42:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 22:42:36 | command: <data><node>node_psevlv0203</node><entry><content>content_5h8kv50206</content></entry></data>

2021-09-13 22:42:36 | target: http://localhost:8088

2021-09-13 22:42:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-13 22:42:36 | entity: <data><node>node_psevlv0203</node><entry><content>content_5h8kv50206</content></entry></data>

2021-09-13 22:42:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:42:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 22:42:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1249f74b-de39-4569-8ab8-1b53e8d2705a</value></item-id></result>

2021-09-13 22:42:36 | contains: true

2021-09-13 22:42:42 | [Mutex] waiting for: [user_regularms3sls0202@test-domain.com:message:received:content_5h8kv50206]

2021-09-13 22:42:42 | [Mutex] received everything.

2021-09-13 22:42:42 | [Mutex] isItemNotified: user_regularms3sls0202@test-domain.com:message:received:content_5h8kv50206 :: true

2021-09-13 22:42:42 |


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


2021-09-13 22:42:42 | [Mutex] received everything.

2021-09-13 22:42:42 | [Mutex] isItemNotified: node_psevlv0203:subscribe_node:success :: true

2021-09-13 22:42:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-13 22:42:42 | command: <data><node>node_psevlv0203</node><expire-at>2021-09-14T05:42:47Z</expire-at><entry><content>content_5mlx7p0207</content></entry></data>

2021-09-13 22:42:42 | target: http://localhost:8088

2021-09-13 22:42:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-13 22:42:42 | entity: <data><node>node_psevlv0203</node><expire-at>2021-09-14T05:42:47Z</expire-at><entry><content>content_5mlx7p0207</content></entry></data>

2021-09-13 22:42:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:42:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-13 22:42:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d28153f0-a57d-42cb-85e7-5bafd6b3a508</value></item-id></result>

2021-09-13 22:42:42 | contains: true

2021-09-13 22:42:50 | [Mutex] waiting for: [user_regularms3sls0202@test-domain.com:message:received:content_5mlx7p0207]

2021-09-13 22:43:05 | [Mutex] timeout. Not received [user_regularms3sls0202@test-domain.com:message:received:content_5mlx7p0207]

2021-09-13 22:43:05 | [Mutex] received everything.

2021-09-13 22:43:05 | [Mutex] isItemNotified: user_regularms3sls0202@test-domain.com:message:received:content_5mlx7p0207 :: false

2021-09-13 22:43:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5mlx7p0207 :: true