Generated by TestNG with ReportNG at 22:52 PDT on Thursday 18 August 2022
root@f9c07ffec79b / 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.469s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.533s
2022-08-18 23:14:49 |

2022-08-18 23:14:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-18 23:14:49 | ------------------------------------

2022-08-18 23:14:49 | [Mutex] isItemNotified: node_h0x18h0204:exists :: false

2022-08-18 23:14:49 | [Mutex] waiting for: [node_h0x18h0204:create_node]

2022-08-18 23:14:49 | [Mutex] received everything.

2022-08-18 23:14:49 | [Mutex] isItemNotified: node_h0x18h0204:create_node:success :: true

2022-08-18 23:14:49 | [Mutex] waiting for: [node_h0x18h0204:subscribe_node]

2022-08-18 23:14:49 | [Mutex] received everything.

2022-08-18 23:14:49 | [Mutex] isItemNotified: node_h0x18h0204:subscribe_node:success :: true

2022-08-18 23:14:49 |


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


2022-08-18 23:14:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 23:14:49 | command: <data><node>node_h0x18h0204</node><entry><content>content_z8l1rw0205</content></entry></data>

2022-08-18 23:14:49 | target: http://localhost:8088

2022-08-18 23:14:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-18 23:14:49 | entity: <data><node>node_h0x18h0204</node><entry><content>content_z8l1rw0205</content></entry></data>

2022-08-18 23:14:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 06:14:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 23:14:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4180a92d-6394-4d35-a295-e996c8bf2a29</value></item-id></result>

2022-08-18 23:14:49 | contains: true

2022-08-18 23:14:49 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_z8l1rw0205]

2022-08-18 23:14:49 | [Mutex] received everything.

2022-08-18 23:14:49 | [Mutex] isItemNotified: user_regulargxd2c40203@test-domain.com:message:received:content_z8l1rw0205 :: true

2022-08-18 23:14:49 |


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


2022-08-18 23:14:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 23:14:49 | command: <data><node>node_h0x18h0204</node><expire-at>2022-08-19T06:14:44Z</expire-at><entry><content>content_y328v90206</content></entry></data>

2022-08-18 23:14:49 | target: http://localhost:8088

2022-08-18 23:14:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-18 23:14:49 | entity: <data><node>node_h0x18h0204</node><expire-at>2022-08-19T06:14:44Z</expire-at><entry><content>content_y328v90206</content></entry></data>

2022-08-18 23:14:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 06:14:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 23:14:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a634b8f3-a1d9-4d3a-a6b3-b048d76e1f9a</value></item-id></result>

2022-08-18 23:14:49 | contains: true

2022-08-18 23:14:49 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_y328v90206]

2022-08-18 23:15:04 | [Mutex] timeout. Not received [user_regulargxd2c40203@test-domain.com:message:received:content_y328v90206]

2022-08-18 23:15:04 | [Mutex] isItemNotified: user_regulargxd2c40203@test-domain.com:message:received:content_y328v90206 :: false

2022-08-18 23:15:04 |


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


2022-08-18 23:15:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 23:15:04 | command: <data><node>node_h0x18h0204</node><entry><content>content_axbbev0207</content></entry></data>

2022-08-18 23:15:04 | target: http://localhost:8088

2022-08-18 23:15:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-18 23:15:04 | entity: <data><node>node_h0x18h0204</node><entry><content>content_axbbev0207</content></entry></data>

2022-08-18 23:15:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 06:15:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 23:15:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ca81139-73ec-4547-a0d0-a0ca90adb625</value></item-id></result>

2022-08-18 23:15:04 | contains: true

2022-08-18 23:15:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-18 23:15:09 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_axbbev0207]

2022-08-18 23:15:09 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_axbbev0207]

2022-08-18 23:15:09 | [Mutex] received everything.

2022-08-18 23:15:09 | [Mutex] isItemNotified: user_regulargxd2c40203@test-domain.com:message:received:content_axbbev0207 :: true

2022-08-18 23:15:09 |


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


2022-08-18 23:15:09 | [Mutex] received everything.

2022-08-18 23:15:09 | [Mutex] isItemNotified: node_h0x18h0204:subscribe_node:success :: true

2022-08-18 23:15:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 23:15:09 | command: <data><node>node_h0x18h0204</node><expire-at>2022-08-19T06:15:14Z</expire-at><entry><content>content_oscn6k0208</content></entry></data>

2022-08-18 23:15:09 | target: http://localhost:8088

2022-08-18 23:15:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-18 23:15:09 | entity: <data><node>node_h0x18h0204</node><expire-at>2022-08-19T06:15:14Z</expire-at><entry><content>content_oscn6k0208</content></entry></data>

2022-08-18 23:15:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 06:15:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 23:15:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>146c831e-69e2-4c87-b11d-0f925f9b4537</value></item-id></result>

2022-08-18 23:15:10 | contains: true

2022-08-18 23:15:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-18 23:15:18 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_oscn6k0208]

2022-08-18 23:15:18 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_oscn6k0208]

2022-08-18 23:15:18 | [Mutex] waiting for: [user_regulargxd2c40203@test-domain.com:message:received:content_oscn6k0208]

2022-08-18 23:15:33 | [Mutex] timeout. Not received [user_regulargxd2c40203@test-domain.com:message:received:content_oscn6k0208]

2022-08-18 23:15:33 | [Mutex] received everything.

2022-08-18 23:15:33 | [Mutex] isItemNotified: user_regulargxd2c40203@test-domain.com:message:received:content_oscn6k0208 :: false

2022-08-18 23:15:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oscn6k0208 :: true