Generated by TestNG with ReportNG at 21:15 PST on Monday 16 January 2023
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.569s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.674s
2023-01-16 21:32:38 |

2023-01-16 21:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-01-16 21:32:38 | ------------------------------------

2023-01-16 21:32:38 | [Mutex] isItemNotified: node_sfkx800204:exists :: false

2023-01-16 21:32:38 | [Mutex] waiting for: [node_sfkx800204:create_node]

2023-01-16 21:32:38 | [Mutex] waiting for: [node_sfkx800204:create_node]

2023-01-16 21:32:38 | [Mutex] received everything.

2023-01-16 21:32:38 | [Mutex] isItemNotified: node_sfkx800204:create_node:success :: true

2023-01-16 21:32:38 | [Mutex] waiting for: [node_sfkx800204:subscribe_node]

2023-01-16 21:32:38 | [Mutex] waiting for: [node_sfkx800204:subscribe_node]

2023-01-16 21:32:38 | [Mutex] received everything.

2023-01-16 21:32:38 | [Mutex] isItemNotified: node_sfkx800204:subscribe_node:success :: true

2023-01-16 21:32:38 |


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


2023-01-16 21:32:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:32:38 | command: <data><node>node_sfkx800204</node><entry><content>content_v2mgef0205</content></entry></data>

2023-01-16 21:32:38 | target: http://localhost:8088

2023-01-16 21:32:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:32:38 | entity: <data><node>node_sfkx800204</node><entry><content>content_v2mgef0205</content></entry></data>

2023-01-16 21:32:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:32:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:32:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f654d98-8bd8-4609-b4c8-30cfda5c4d31</value></item-id></result>

2023-01-16 21:32:38 | contains: true

2023-01-16 21:32:38 | [Mutex] received everything.

2023-01-16 21:32:38 | [Mutex] isItemNotified: user_regular4mz6k50203@test-domain.com:message:received:content_v2mgef0205 :: true

2023-01-16 21:32:38 |


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


2023-01-16 21:32:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:32:38 | command: <data><node>node_sfkx800204</node><expire-at>2023-01-17T05:32:33Z</expire-at><entry><content>content_sbodd40206</content></entry></data>

2023-01-16 21:32:38 | target: http://localhost:8088

2023-01-16 21:32:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:32:38 | entity: <data><node>node_sfkx800204</node><expire-at>2023-01-17T05:32:33Z</expire-at><entry><content>content_sbodd40206</content></entry></data>

2023-01-16 21:32:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:32:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:32:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>163ded3e-022a-4b68-bec0-290c7f8083d6</value></item-id></result>

2023-01-16 21:32:38 | contains: true

2023-01-16 21:32:38 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_sbodd40206]

2023-01-16 21:32:53 | [Mutex] timeout. Not received [user_regular4mz6k50203@test-domain.com:message:received:content_sbodd40206]

2023-01-16 21:32:53 | [Mutex] isItemNotified: user_regular4mz6k50203@test-domain.com:message:received:content_sbodd40206 :: false

2023-01-16 21:32:53 |


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


2023-01-16 21:32:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:32:53 | command: <data><node>node_sfkx800204</node><entry><content>content_37b60g0207</content></entry></data>

2023-01-16 21:32:53 | target: http://localhost:8088

2023-01-16 21:32:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-01-16 21:32:53 | entity: <data><node>node_sfkx800204</node><entry><content>content_37b60g0207</content></entry></data>

2023-01-16 21:32:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:32:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:32:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2397c9f-62c5-46e6-a9d9-e66a4675c158</value></item-id></result>

2023-01-16 21:32:53 | contains: true

2023-01-16 21:32:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:32:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:32:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:32:58 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_37b60g0207]

2023-01-16 21:32:58 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_37b60g0207]

2023-01-16 21:32:58 | [Mutex] received everything.

2023-01-16 21:32:58 | [Mutex] isItemNotified: user_regular4mz6k50203@test-domain.com:message:received:content_37b60g0207 :: true

2023-01-16 21:32:58 |


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


2023-01-16 21:32:58 | [Mutex] received everything.

2023-01-16 21:32:58 | [Mutex] isItemNotified: node_sfkx800204:subscribe_node:success :: true

2023-01-16 21:32:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-01-16 21:32:58 | command: <data><node>node_sfkx800204</node><expire-at>2023-01-17T05:33:03Z</expire-at><entry><content>content_6vd7ae0208</content></entry></data>

2023-01-16 21:32:58 | target: http://localhost:8088

2023-01-16 21:32:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-01-16 21:32:58 | entity: <data><node>node_sfkx800204</node><expire-at>2023-01-17T05:33:03Z</expire-at><entry><content>content_6vd7ae0208</content></entry></data>

2023-01-16 21:32:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 Jan 2023 05:32:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-01-16 21:32:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9b2e4a27-99a5-48b2-b8d6-32152251e0a8</value></item-id></result>

2023-01-16 21:32:58 | contains: true

2023-01-16 21:33:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-01-16 21:33:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-01-16 21:33:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-01-16 21:33:06 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_6vd7ae0208]

2023-01-16 21:33:06 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_6vd7ae0208]

2023-01-16 21:33:06 | [Mutex] waiting for: [user_regular4mz6k50203@test-domain.com:message:received:content_6vd7ae0208]

2023-01-16 21:33:21 | [Mutex] timeout. Not received [user_regular4mz6k50203@test-domain.com:message:received:content_6vd7ae0208]

2023-01-16 21:33:21 | [Mutex] received everything.

2023-01-16 21:33:21 | [Mutex] isItemNotified: user_regular4mz6k50203@test-domain.com:message:received:content_6vd7ae0208 :: false

2023-01-16 21:33:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6vd7ae0208 :: true