Generated by TestNG with ReportNG at 22:25 PDT on Sunday 04 October 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.540s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.718s
2020-10-04 22:41:55 |

2020-10-04 22:41:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-04 22:41:55 | ------------------------------------

2020-10-04 22:41:55 | [Mutex] isItemNotified: node_g14ndw0203:exists :: false

2020-10-04 22:41:55 | [Mutex] waiting for: [node_g14ndw0203:create_node]

2020-10-04 22:41:55 | [Mutex] waiting for: [node_g14ndw0203:create_node]

2020-10-04 22:41:55 | [Mutex] received everything.

2020-10-04 22:41:55 | [Mutex] isItemNotified: node_g14ndw0203:create_node:success :: true

2020-10-04 22:41:55 | [Mutex] waiting for: [node_g14ndw0203:subscribe_node]

2020-10-04 22:41:55 | [Mutex] waiting for: [node_g14ndw0203:subscribe_node]

2020-10-04 22:41:55 | [Mutex] received everything.

2020-10-04 22:41:55 | [Mutex] isItemNotified: node_g14ndw0203:subscribe_node:success :: true

2020-10-04 22:41:55 |


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


2020-10-04 22:41:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:41:55 | command: <data><node>node_g14ndw0203</node><entry><content>content_yu5drh0204</content></entry></data>

2020-10-04 22:41:55 | target: http://localhost:8088

2020-10-04 22:41:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-04 22:41:55 | entity: <data><node>node_g14ndw0203</node><entry><content>content_yu5drh0204</content></entry></data>

2020-10-04 22:41:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:41:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:41:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a3cd83e-aa1a-4a40-9a3b-2eca6e48ea85</value></item-id></result>

2020-10-04 22:41:55 | contains: true

2020-10-04 22:41:55 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_yu5drh0204]

2020-10-04 22:41:55 | [Mutex] received everything.

2020-10-04 22:41:55 | [Mutex] isItemNotified: user_regular3eb4za0202@test-domain.com:message:received:content_yu5drh0204 :: true

2020-10-04 22:41:55 |


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


2020-10-04 22:41:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:41:55 | command: <data><node>node_g14ndw0203</node><expire-at>2020-10-05T05:41:50Z</expire-at><entry><content>content_uzge4v0205</content></entry></data>

2020-10-04 22:41:55 | target: http://localhost:8088

2020-10-04 22:41:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:41:55 | entity: <data><node>node_g14ndw0203</node><expire-at>2020-10-05T05:41:50Z</expire-at><entry><content>content_uzge4v0205</content></entry></data>

2020-10-04 22:41:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:41:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:41:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b90a5b83-6ef4-43bb-992d-fddb3950b665</value></item-id></result>

2020-10-04 22:41:55 | contains: true

2020-10-04 22:41:55 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_uzge4v0205]

2020-10-04 22:42:10 | [Mutex] timeout. Not received [user_regular3eb4za0202@test-domain.com:message:received:content_uzge4v0205]

2020-10-04 22:42:10 | [Mutex] isItemNotified: user_regular3eb4za0202@test-domain.com:message:received:content_uzge4v0205 :: false

2020-10-04 22:42:10 |


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


2020-10-04 22:42:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:42:10 | command: <data><node>node_g14ndw0203</node><entry><content>content_8fq8km0206</content></entry></data>

2020-10-04 22:42:10 | target: http://localhost:8088

2020-10-04 22:42:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-04 22:42:10 | entity: <data><node>node_g14ndw0203</node><entry><content>content_8fq8km0206</content></entry></data>

2020-10-04 22:42:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:42:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:42:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc9adec7-f7b8-4b13-abc7-ed942aee46ab</value></item-id></result>

2020-10-04 22:42:10 | contains: true

2020-10-04 22:42:16 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_8fq8km0206]

2020-10-04 22:42:16 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_8fq8km0206]

2020-10-04 22:42:16 | [Mutex] received everything.

2020-10-04 22:42:16 | [Mutex] isItemNotified: user_regular3eb4za0202@test-domain.com:message:received:content_8fq8km0206 :: true

2020-10-04 22:42:16 |


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


2020-10-04 22:42:16 | [Mutex] received everything.

2020-10-04 22:42:16 | [Mutex] isItemNotified: node_g14ndw0203:subscribe_node:success :: true

2020-10-04 22:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-04 22:42:16 | command: <data><node>node_g14ndw0203</node><expire-at>2020-10-05T05:42:21Z</expire-at><entry><content>content_6x2va30207</content></entry></data>

2020-10-04 22:42:16 | target: http://localhost:8088

2020-10-04 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-04 22:42:16 | entity: <data><node>node_g14ndw0203</node><expire-at>2020-10-05T05:42:21Z</expire-at><entry><content>content_6x2va30207</content></entry></data>

2020-10-04 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-04 22:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f9eaa90-151a-4c2d-a668-bd7149ddf514</value></item-id></result>

2020-10-04 22:42:16 | contains: true

2020-10-04 22:42:24 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_6x2va30207]

2020-10-04 22:42:24 | [Mutex] waiting for: [user_regular3eb4za0202@test-domain.com:message:received:content_6x2va30207]

2020-10-04 22:42:39 | [Mutex] timeout. Not received [user_regular3eb4za0202@test-domain.com:message:received:content_6x2va30207]

2020-10-04 22:42:39 | [Mutex] received everything.

2020-10-04 22:42:39 | [Mutex] isItemNotified: user_regular3eb4za0202@test-domain.com:message:received:content_6x2va30207 :: false

2020-10-04 22:42:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6x2va30207 :: true