Generated by TestNG with ReportNG at 23:00 PDT on Wednesday 02 September 2020
root@1415041f34dc / 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.641s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.829s
2020-09-02 23:14:59 |

2020-09-02 23:14:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-02 23:14:59 | ------------------------------------

2020-09-02 23:14:59 | [Mutex] isItemNotified: node_732q7k0203:exists :: false

2020-09-02 23:14:59 | [Mutex] waiting for: [node_732q7k0203:create_node]

2020-09-02 23:14:59 | [Mutex] received everything.

2020-09-02 23:14:59 | [Mutex] isItemNotified: node_732q7k0203:create_node:success :: true

2020-09-02 23:14:59 | [Mutex] waiting for: [node_732q7k0203:subscribe_node]

2020-09-02 23:14:59 | [Mutex] received everything.

2020-09-02 23:14:59 | [Mutex] isItemNotified: node_732q7k0203:subscribe_node:success :: true

2020-09-02 23:14:59 |


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


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

2020-09-02 23:14:59 | command: <data><node>node_732q7k0203</node><entry><content>content_485zif0204</content></entry></data>

2020-09-02 23:14:59 | target: http://localhost:8088

2020-09-02 23:14:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-02 23:14:59 | entity: <data><node>node_732q7k0203</node><entry><content>content_485zif0204</content></entry></data>

2020-09-02 23:14:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:14:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:14:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89ce46c2-7594-4073-bfc9-d562dfebc112</value></item-id></result>

2020-09-02 23:14:59 | contains: true

2020-09-02 23:14:59 | [Mutex] waiting for: [user_regulardqt3hu0202@test-domain.com:message:received:content_485zif0204]

2020-09-02 23:14:59 | [Mutex] received everything.

2020-09-02 23:14:59 | [Mutex] isItemNotified: user_regulardqt3hu0202@test-domain.com:message:received:content_485zif0204 :: true

2020-09-02 23:14:59 |


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


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

2020-09-02 23:14:59 | command: <data><node>node_732q7k0203</node><expire-at>2020-09-03T06:14:54Z</expire-at><entry><content>content_fsy9et0205</content></entry></data>

2020-09-02 23:14:59 | target: http://localhost:8088

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

2020-09-02 23:14:59 | entity: <data><node>node_732q7k0203</node><expire-at>2020-09-03T06:14:54Z</expire-at><entry><content>content_fsy9et0205</content></entry></data>

2020-09-02 23:14:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:14:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:14:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3968a9c9-a076-441a-aa6c-204892efcaad</value></item-id></result>

2020-09-02 23:14:59 | contains: true

2020-09-02 23:14:59 | [Mutex] waiting for: [user_regulardqt3hu0202@test-domain.com:message:received:content_fsy9et0205]

2020-09-02 23:15:14 | [Mutex] timeout. Not received [user_regulardqt3hu0202@test-domain.com:message:received:content_fsy9et0205]

2020-09-02 23:15:14 | [Mutex] isItemNotified: user_regulardqt3hu0202@test-domain.com:message:received:content_fsy9et0205 :: false

2020-09-02 23:15:14 |


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


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

2020-09-02 23:15:14 | command: <data><node>node_732q7k0203</node><entry><content>content_fnczxe0206</content></entry></data>

2020-09-02 23:15:14 | target: http://localhost:8088

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

2020-09-02 23:15:14 | entity: <data><node>node_732q7k0203</node><entry><content>content_fnczxe0206</content></entry></data>

2020-09-02 23:15:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:15:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:15:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4923eafe-ce5b-40eb-af35-cacf8d362a77</value></item-id></result>

2020-09-02 23:15:14 | contains: true

2020-09-02 23:15:19 | [Mutex] waiting for: [user_regulardqt3hu0202@test-domain.com:message:received:content_fnczxe0206]

2020-09-02 23:15:19 | [Mutex] received everything.

2020-09-02 23:15:19 | [Mutex] isItemNotified: user_regulardqt3hu0202@test-domain.com:message:received:content_fnczxe0206 :: true

2020-09-02 23:15:19 |


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


2020-09-02 23:15:19 | [Mutex] received everything.

2020-09-02 23:15:19 | [Mutex] isItemNotified: node_732q7k0203:subscribe_node:success :: true

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

2020-09-02 23:15:20 | command: <data><node>node_732q7k0203</node><expire-at>2020-09-03T06:15:25Z</expire-at><entry><content>content_ixp1gz0207</content></entry></data>

2020-09-02 23:15:20 | target: http://localhost:8088

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

2020-09-02 23:15:20 | entity: <data><node>node_732q7k0203</node><expire-at>2020-09-03T06:15:25Z</expire-at><entry><content>content_ixp1gz0207</content></entry></data>

2020-09-02 23:15:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 06:15:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-02 23:15:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e31396a6-8848-4df8-abc5-1a587ae483b1</value></item-id></result>

2020-09-02 23:15:20 | contains: true

2020-09-02 23:15:28 | [Mutex] waiting for: [user_regulardqt3hu0202@test-domain.com:message:received:content_ixp1gz0207]

2020-09-02 23:15:43 | [Mutex] timeout. Not received [user_regulardqt3hu0202@test-domain.com:message:received:content_ixp1gz0207]

2020-09-02 23:15:43 | [Mutex] received everything.

2020-09-02 23:15:43 | [Mutex] isItemNotified: user_regulardqt3hu0202@test-domain.com:message:received:content_ixp1gz0207 :: false

2020-09-02 23:15:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ixp1gz0207 :: true