Generated by TestNG with ReportNG at 22:59 PDT on Saturday 26 September 2020
root@acb1a7e1250f / 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.877s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.788s
2020-09-26 23:15:54 |

2020-09-26 23:15:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-26 23:15:54 | ------------------------------------

2020-09-26 23:15:54 | [Mutex] isItemNotified: node_h4vy9a0203:exists :: false

2020-09-26 23:15:54 | [Mutex] waiting for: [node_h4vy9a0203:create_node]

2020-09-26 23:15:54 | [Mutex] waiting for: [node_h4vy9a0203:create_node]

2020-09-26 23:15:54 | [Mutex] received everything.

2020-09-26 23:15:54 | [Mutex] isItemNotified: node_h4vy9a0203:create_node:success :: true

2020-09-26 23:15:54 | [Mutex] waiting for: [node_h4vy9a0203:subscribe_node]

2020-09-26 23:15:54 | [Mutex] waiting for: [node_h4vy9a0203:subscribe_node]

2020-09-26 23:15:54 | [Mutex] received everything.

2020-09-26 23:15:54 | [Mutex] isItemNotified: node_h4vy9a0203:subscribe_node:success :: true

2020-09-26 23:15:54 |


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


2020-09-26 23:15:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 23:15:54 | command: <data><node>node_h4vy9a0203</node><entry><content>content_bxg9mp0204</content></entry></data>

2020-09-26 23:15:54 | target: http://localhost:8088

2020-09-26 23:15:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-26 23:15:54 | entity: <data><node>node_h4vy9a0203</node><entry><content>content_bxg9mp0204</content></entry></data>

2020-09-26 23:15:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:15:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 23:15:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74419c8e-ed71-4394-b993-afb4717b9021</value></item-id></result>

2020-09-26 23:15:54 | contains: true

2020-09-26 23:15:54 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_bxg9mp0204]

2020-09-26 23:15:54 | [Mutex] received everything.

2020-09-26 23:15:54 | [Mutex] isItemNotified: user_regularac10vt0202@test-domain.com:message:received:content_bxg9mp0204 :: true

2020-09-26 23:15:54 |


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


2020-09-26 23:15:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 23:15:54 | command: <data><node>node_h4vy9a0203</node><expire-at>2020-09-27T06:15:49Z</expire-at><entry><content>content_cz13jr0205</content></entry></data>

2020-09-26 23:15:54 | target: http://localhost:8088

2020-09-26 23:15:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-26 23:15:54 | entity: <data><node>node_h4vy9a0203</node><expire-at>2020-09-27T06:15:49Z</expire-at><entry><content>content_cz13jr0205</content></entry></data>

2020-09-26 23:15:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:15:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 23:15:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c42ee252-ed01-4cca-9a70-4ba4c0e539df</value></item-id></result>

2020-09-26 23:15:54 | contains: true

2020-09-26 23:15:54 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_cz13jr0205]

2020-09-26 23:16:09 | [Mutex] timeout. Not received [user_regularac10vt0202@test-domain.com:message:received:content_cz13jr0205]

2020-09-26 23:16:09 | [Mutex] isItemNotified: user_regularac10vt0202@test-domain.com:message:received:content_cz13jr0205 :: false

2020-09-26 23:16:09 |


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


2020-09-26 23:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 23:16:09 | command: <data><node>node_h4vy9a0203</node><entry><content>content_8fibp0206</content></entry></data>

2020-09-26 23:16:09 | target: http://localhost:8088

2020-09-26 23:16:09 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-26 23:16:09 | entity: <data><node>node_h4vy9a0203</node><entry><content>content_8fibp0206</content></entry></data>

2020-09-26 23:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 23:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27c8e5a8-e7de-46da-b670-483dc391aae8</value></item-id></result>

2020-09-26 23:16:09 | contains: true

2020-09-26 23:16:14 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_8fibp0206]

2020-09-26 23:16:14 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_8fibp0206]

2020-09-26 23:16:14 | [Mutex] received everything.

2020-09-26 23:16:14 | [Mutex] isItemNotified: user_regularac10vt0202@test-domain.com:message:received:content_8fibp0206 :: true

2020-09-26 23:16:14 |


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


2020-09-26 23:16:14 | [Mutex] received everything.

2020-09-26 23:16:14 | [Mutex] isItemNotified: node_h4vy9a0203:subscribe_node:success :: true

2020-09-26 23:16:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-26 23:16:14 | command: <data><node>node_h4vy9a0203</node><expire-at>2020-09-27T06:16:19Z</expire-at><entry><content>content_fuws9r0207</content></entry></data>

2020-09-26 23:16:14 | target: http://localhost:8088

2020-09-26 23:16:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-26 23:16:14 | entity: <data><node>node_h4vy9a0203</node><expire-at>2020-09-27T06:16:19Z</expire-at><entry><content>content_fuws9r0207</content></entry></data>

2020-09-26 23:16:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 06:16:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-26 23:16:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3bce341d-9663-4707-a00c-81e14bab0a32</value></item-id></result>

2020-09-26 23:16:14 | contains: true

2020-09-26 23:16:23 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_fuws9r0207]

2020-09-26 23:16:23 | [Mutex] waiting for: [user_regularac10vt0202@test-domain.com:message:received:content_fuws9r0207]

2020-09-26 23:16:38 | [Mutex] timeout. Not received [user_regularac10vt0202@test-domain.com:message:received:content_fuws9r0207]

2020-09-26 23:16:38 | [Mutex] received everything.

2020-09-26 23:16:38 | [Mutex] isItemNotified: user_regularac10vt0202@test-domain.com:message:received:content_fuws9r0207 :: false

2020-09-26 23:16:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fuws9r0207 :: true