Generated by TestNG with ReportNG at 22:46 PDT on Monday 29 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.575s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.566s
2022-08-29 23:00:52 |

2022-08-29 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-29 23:00:52 | ------------------------------------

2022-08-29 23:00:52 | [Mutex] isItemNotified: node_og5b6v0204:exists :: false

2022-08-29 23:00:52 | [Mutex] waiting for: [node_og5b6v0204:create_node]

2022-08-29 23:00:52 | [Mutex] received everything.

2022-08-29 23:00:52 | [Mutex] isItemNotified: node_og5b6v0204:create_node:success :: true

2022-08-29 23:00:52 | [Mutex] waiting for: [node_og5b6v0204:subscribe_node]

2022-08-29 23:00:52 | [Mutex] received everything.

2022-08-29 23:00:52 | [Mutex] isItemNotified: node_og5b6v0204:subscribe_node:success :: true

2022-08-29 23:00:52 |


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


2022-08-29 23:00:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-29 23:00:52 | command: <data><node>node_og5b6v0204</node><entry><content>content_30v1bw0205</content></entry></data>

2022-08-29 23:00:52 | target: http://localhost:8088

2022-08-29 23:00:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-29 23:00:52 | entity: <data><node>node_og5b6v0204</node><entry><content>content_30v1bw0205</content></entry></data>

2022-08-29 23:00:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 06:00:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-29 23:00:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46ce2317-13f3-4c69-8a37-28bb6b1ffb54</value></item-id></result>

2022-08-29 23:00:52 | contains: true

2022-08-29 23:00:52 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_30v1bw0205]

2022-08-29 23:00:52 | [Mutex] received everything.

2022-08-29 23:00:52 | [Mutex] isItemNotified: user_regularucva90203@test-domain.com:message:received:content_30v1bw0205 :: true

2022-08-29 23:00:52 |


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


2022-08-29 23:00:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-29 23:00:52 | command: <data><node>node_og5b6v0204</node><expire-at>2022-08-30T06:00:47Z</expire-at><entry><content>content_z3l47r0206</content></entry></data>

2022-08-29 23:00:52 | target: http://localhost:8088

2022-08-29 23:00:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-29 23:00:52 | entity: <data><node>node_og5b6v0204</node><expire-at>2022-08-30T06:00:47Z</expire-at><entry><content>content_z3l47r0206</content></entry></data>

2022-08-29 23:00:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 06:00:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-29 23:00:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a630d3f-dae4-4a62-a632-a83d64967a92</value></item-id></result>

2022-08-29 23:00:52 | contains: true

2022-08-29 23:00:52 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_z3l47r0206]

2022-08-29 23:01:07 | [Mutex] timeout. Not received [user_regularucva90203@test-domain.com:message:received:content_z3l47r0206]

2022-08-29 23:01:07 | [Mutex] isItemNotified: user_regularucva90203@test-domain.com:message:received:content_z3l47r0206 :: false

2022-08-29 23:01:07 |


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


2022-08-29 23:01:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-29 23:01:07 | command: <data><node>node_og5b6v0204</node><entry><content>content_wh7duc0207</content></entry></data>

2022-08-29 23:01:07 | target: http://localhost:8088

2022-08-29 23:01:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-29 23:01:07 | entity: <data><node>node_og5b6v0204</node><entry><content>content_wh7duc0207</content></entry></data>

2022-08-29 23:01:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 06:01:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-29 23:01:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8eed333c-3e92-4d65-af6e-90c677803101</value></item-id></result>

2022-08-29 23:01:07 | contains: true

2022-08-29 23:01:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-29 23:01:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-29 23:01:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-29 23:01:12 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_wh7duc0207]

2022-08-29 23:01:12 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_wh7duc0207]

2022-08-29 23:01:12 | [Mutex] received everything.

2022-08-29 23:01:12 | [Mutex] isItemNotified: user_regularucva90203@test-domain.com:message:received:content_wh7duc0207 :: true

2022-08-29 23:01:12 |


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


2022-08-29 23:01:12 | [Mutex] received everything.

2022-08-29 23:01:12 | [Mutex] isItemNotified: node_og5b6v0204:subscribe_node:success :: true

2022-08-29 23:01:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-29 23:01:12 | command: <data><node>node_og5b6v0204</node><expire-at>2022-08-30T06:01:17Z</expire-at><entry><content>content_m9arq70208</content></entry></data>

2022-08-29 23:01:12 | target: http://localhost:8088

2022-08-29 23:01:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-29 23:01:12 | entity: <data><node>node_og5b6v0204</node><expire-at>2022-08-30T06:01:17Z</expire-at><entry><content>content_m9arq70208</content></entry></data>

2022-08-29 23:01:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 06:01:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-29 23:01:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb17699f-56c3-4bff-9e6f-818350c6efb3</value></item-id></result>

2022-08-29 23:01:12 | contains: true

2022-08-29 23:01:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-29 23:01:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-29 23:01:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-29 23:01:20 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_m9arq70208]

2022-08-29 23:01:20 | [Mutex] waiting for: [user_regularucva90203@test-domain.com:message:received:content_m9arq70208]

2022-08-29 23:01:35 | [Mutex] timeout. Not received [user_regularucva90203@test-domain.com:message:received:content_m9arq70208]

2022-08-29 23:01:35 | [Mutex] received everything.

2022-08-29 23:01:35 | [Mutex] isItemNotified: user_regularucva90203@test-domain.com:message:received:content_m9arq70208 :: false

2022-08-29 23:01:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m9arq70208 :: true