Generated by TestNG with ReportNG at 22:14 PDT on Thursday 17 June 2021
root@785cf647a4ab / 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.627s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.722s
2021-06-17 22:30:51 |

2021-06-17 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-17 22:30:51 | ------------------------------------

2021-06-17 22:30:51 | [Mutex] isItemNotified: node_7t30j50203:exists :: false

2021-06-17 22:30:51 | [Mutex] waiting for: [node_7t30j50203:create_node]

2021-06-17 22:30:51 | [Mutex] received everything.

2021-06-17 22:30:51 | [Mutex] isItemNotified: node_7t30j50203:create_node:success :: true

2021-06-17 22:30:51 | [Mutex] waiting for: [node_7t30j50203:subscribe_node]

2021-06-17 22:30:51 | [Mutex] waiting for: [node_7t30j50203:subscribe_node]

2021-06-17 22:30:51 | [Mutex] received everything.

2021-06-17 22:30:51 | [Mutex] isItemNotified: node_7t30j50203:subscribe_node:success :: true

2021-06-17 22:30:51 |


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


2021-06-17 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:30:51 | command: <data><node>node_7t30j50203</node><entry><content>content_a6pi6z0204</content></entry></data>

2021-06-17 22:30:51 | target: http://localhost:8088

2021-06-17 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:30:51 | entity: <data><node>node_7t30j50203</node><entry><content>content_a6pi6z0204</content></entry></data>

2021-06-17 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e977a40-0529-4b46-98e4-b641aa2568ab</value></item-id></result>

2021-06-17 22:30:51 | contains: true

2021-06-17 22:30:51 | [Mutex] received everything.

2021-06-17 22:30:51 | [Mutex] isItemNotified: user_regularv2p2wx0202@test-domain.com:message:received:content_a6pi6z0204 :: true

2021-06-17 22:30:51 |


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


2021-06-17 22:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:30:51 | command: <data><node>node_7t30j50203</node><expire-at>2021-06-18T05:30:46Z</expire-at><entry><content>content_2t37pl0205</content></entry></data>

2021-06-17 22:30:51 | target: http://localhost:8088

2021-06-17 22:30:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:30:51 | entity: <data><node>node_7t30j50203</node><expire-at>2021-06-18T05:30:46Z</expire-at><entry><content>content_2t37pl0205</content></entry></data>

2021-06-17 22:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e8a11602-04d3-4156-944d-184b0a8d2ded</value></item-id></result>

2021-06-17 22:30:52 | contains: true

2021-06-17 22:30:52 | [Mutex] waiting for: [user_regularv2p2wx0202@test-domain.com:message:received:content_2t37pl0205]

2021-06-17 22:31:07 | [Mutex] timeout. Not received [user_regularv2p2wx0202@test-domain.com:message:received:content_2t37pl0205]

2021-06-17 22:31:07 | [Mutex] isItemNotified: user_regularv2p2wx0202@test-domain.com:message:received:content_2t37pl0205 :: false

2021-06-17 22:31:07 |


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


2021-06-17 22:31:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:31:07 | command: <data><node>node_7t30j50203</node><entry><content>content_ll1o2b0206</content></entry></data>

2021-06-17 22:31:07 | target: http://localhost:8088

2021-06-17 22:31:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-17 22:31:07 | entity: <data><node>node_7t30j50203</node><entry><content>content_ll1o2b0206</content></entry></data>

2021-06-17 22:31:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:31:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:31:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>35d186e2-c5b3-43f6-8d8f-8f5720c47cfe</value></item-id></result>

2021-06-17 22:31:07 | contains: true

2021-06-17 22:31:12 | [Mutex] waiting for: [user_regularv2p2wx0202@test-domain.com:message:received:content_ll1o2b0206]

2021-06-17 22:31:12 | [Mutex] waiting for: [user_regularv2p2wx0202@test-domain.com:message:received:content_ll1o2b0206]

2021-06-17 22:31:12 | [Mutex] received everything.

2021-06-17 22:31:12 | [Mutex] isItemNotified: user_regularv2p2wx0202@test-domain.com:message:received:content_ll1o2b0206 :: true

2021-06-17 22:31:12 |


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


2021-06-17 22:31:12 | [Mutex] received everything.

2021-06-17 22:31:12 | [Mutex] isItemNotified: node_7t30j50203:subscribe_node:success :: true

2021-06-17 22:31:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-17 22:31:12 | command: <data><node>node_7t30j50203</node><expire-at>2021-06-18T05:31:17Z</expire-at><entry><content>content_vb9f7d0207</content></entry></data>

2021-06-17 22:31:12 | target: http://localhost:8088

2021-06-17 22:31:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-17 22:31:12 | entity: <data><node>node_7t30j50203</node><expire-at>2021-06-18T05:31:17Z</expire-at><entry><content>content_vb9f7d0207</content></entry></data>

2021-06-17 22:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-17 22:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2c40c2a7-d385-4cbe-925b-01e22d1c9405</value></item-id></result>

2021-06-17 22:31:12 | contains: true

2021-06-17 22:31:20 | [Mutex] waiting for: [user_regularv2p2wx0202@test-domain.com:message:received:content_vb9f7d0207]

2021-06-17 22:31:20 | [Mutex] waiting for: [user_regularv2p2wx0202@test-domain.com:message:received:content_vb9f7d0207]

2021-06-17 22:31:35 | [Mutex] timeout. Not received [user_regularv2p2wx0202@test-domain.com:message:received:content_vb9f7d0207]

2021-06-17 22:31:35 | [Mutex] received everything.

2021-06-17 22:31:35 | [Mutex] isItemNotified: user_regularv2p2wx0202@test-domain.com:message:received:content_vb9f7d0207 :: false

2021-06-17 22:31:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vb9f7d0207 :: true