Generated by TestNG with ReportNG at 22:22 PDT on Tuesday 29 September 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.541s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.711s
2020-09-29 22:37:44 |

2020-09-29 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-29 22:37:44 | ------------------------------------

2020-09-29 22:37:44 | [Mutex] isItemNotified: node_2yy1gf0203:exists :: false

2020-09-29 22:37:44 | [Mutex] waiting for: [node_2yy1gf0203:create_node]

2020-09-29 22:37:44 | [Mutex] received everything.

2020-09-29 22:37:44 | [Mutex] isItemNotified: node_2yy1gf0203:create_node:success :: true

2020-09-29 22:37:44 | [Mutex] waiting for: [node_2yy1gf0203:subscribe_node]

2020-09-29 22:37:44 | [Mutex] received everything.

2020-09-29 22:37:44 | [Mutex] isItemNotified: node_2yy1gf0203:subscribe_node:success :: true

2020-09-29 22:37:44 |


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


2020-09-29 22:37:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:37:44 | command: <data><node>node_2yy1gf0203</node><entry><content>content_79nh2a0204</content></entry></data>

2020-09-29 22:37:44 | target: http://localhost:8088

2020-09-29 22:37:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 22:37:44 | entity: <data><node>node_2yy1gf0203</node><entry><content>content_79nh2a0204</content></entry></data>

2020-09-29 22:37:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:37:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:37:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2aa76c92-cf2d-4d00-bf57-0f13ec032ccc</value></item-id></result>

2020-09-29 22:37:44 | contains: true

2020-09-29 22:37:44 | [Mutex] received everything.

2020-09-29 22:37:44 | [Mutex] isItemNotified: user_regularv1k8gf0202@test-domain.com:message:received:content_79nh2a0204 :: true

2020-09-29 22:37:44 |


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


2020-09-29 22:37:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:37:44 | command: <data><node>node_2yy1gf0203</node><expire-at>2020-09-30T05:37:39Z</expire-at><entry><content>content_klswom0205</content></entry></data>

2020-09-29 22:37:44 | target: http://localhost:8088

2020-09-29 22:37:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 22:37:44 | entity: <data><node>node_2yy1gf0203</node><expire-at>2020-09-30T05:37:39Z</expire-at><entry><content>content_klswom0205</content></entry></data>

2020-09-29 22:37:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:37:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:37:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ae28e6f-eb36-4f85-b7db-7111c16d3d8f</value></item-id></result>

2020-09-29 22:37:44 | contains: true

2020-09-29 22:37:44 | [Mutex] waiting for: [user_regularv1k8gf0202@test-domain.com:message:received:content_klswom0205]

2020-09-29 22:37:59 | [Mutex] timeout. Not received [user_regularv1k8gf0202@test-domain.com:message:received:content_klswom0205]

2020-09-29 22:37:59 | [Mutex] isItemNotified: user_regularv1k8gf0202@test-domain.com:message:received:content_klswom0205 :: false

2020-09-29 22:37:59 |


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


2020-09-29 22:37:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:37:59 | command: <data><node>node_2yy1gf0203</node><entry><content>content_ey3ici0206</content></entry></data>

2020-09-29 22:37:59 | target: http://localhost:8088

2020-09-29 22:37:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 22:37:59 | entity: <data><node>node_2yy1gf0203</node><entry><content>content_ey3ici0206</content></entry></data>

2020-09-29 22:37:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:37:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:37:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b93d05d6-4356-4f2b-9f2a-9830f451f14d</value></item-id></result>

2020-09-29 22:37:59 | contains: true

2020-09-29 22:38:04 | [Mutex] waiting for: [user_regularv1k8gf0202@test-domain.com:message:received:content_ey3ici0206]

2020-09-29 22:38:04 | [Mutex] received everything.

2020-09-29 22:38:04 | [Mutex] isItemNotified: user_regularv1k8gf0202@test-domain.com:message:received:content_ey3ici0206 :: true

2020-09-29 22:38:04 |


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


2020-09-29 22:38:04 | [Mutex] received everything.

2020-09-29 22:38:04 | [Mutex] isItemNotified: node_2yy1gf0203:subscribe_node:success :: true

2020-09-29 22:38:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:38:04 | command: <data><node>node_2yy1gf0203</node><expire-at>2020-09-30T05:38:09Z</expire-at><entry><content>content_paqum40207</content></entry></data>

2020-09-29 22:38:04 | target: http://localhost:8088

2020-09-29 22:38:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 22:38:04 | entity: <data><node>node_2yy1gf0203</node><expire-at>2020-09-30T05:38:09Z</expire-at><entry><content>content_paqum40207</content></entry></data>

2020-09-29 22:38:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:38:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:38:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>841eeba7-a51f-4206-9158-29010cd6a74b</value></item-id></result>

2020-09-29 22:38:04 | contains: true

2020-09-29 22:38:12 | [Mutex] waiting for: [user_regularv1k8gf0202@test-domain.com:message:received:content_paqum40207]

2020-09-29 22:38:12 | [Mutex] waiting for: [user_regularv1k8gf0202@test-domain.com:message:received:content_paqum40207]

2020-09-29 22:38:12 | [Mutex] waiting for: [user_regularv1k8gf0202@test-domain.com:message:received:content_paqum40207]

2020-09-29 22:38:27 | [Mutex] timeout. Not received [user_regularv1k8gf0202@test-domain.com:message:received:content_paqum40207]

2020-09-29 22:38:27 | [Mutex] received everything.

2020-09-29 22:38:27 | [Mutex] isItemNotified: user_regularv1k8gf0202@test-domain.com:message:received:content_paqum40207 :: false

2020-09-29 22:38:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_paqum40207 :: true