Generated by TestNG with ReportNG at 22:45 PDT on Monday 27 March 2023
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.408s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.541s
2023-03-27 23:00:08 |

2023-03-27 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-27 23:00:08 | ------------------------------------

2023-03-27 23:00:08 | [Mutex] isItemNotified: node_7ge67b0208:exists :: false

2023-03-27 23:00:08 | [Mutex] waiting for: [node_7ge67b0208:create_node]

2023-03-27 23:00:08 | [Mutex] waiting for: [node_7ge67b0208:create_node]

2023-03-27 23:00:08 | [Mutex] received everything.

2023-03-27 23:00:08 | [Mutex] isItemNotified: node_7ge67b0208:create_node:success :: true

2023-03-27 23:00:08 | [Mutex] waiting for: [node_7ge67b0208:subscribe_node]

2023-03-27 23:00:08 | [Mutex] waiting for: [node_7ge67b0208:subscribe_node]

2023-03-27 23:00:08 | [Mutex] received everything.

2023-03-27 23:00:08 | [Mutex] isItemNotified: node_7ge67b0208:subscribe_node:success :: true

2023-03-27 23:00:08 |


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


2023-03-27 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 23:00:08 | command: <data><node>node_7ge67b0208</node><entry><content>content_drstsu0209</content></entry></data>

2023-03-27 23:00:08 | target: http://localhost:8088

2023-03-27 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-27 23:00:08 | entity: <data><node>node_7ge67b0208</node><entry><content>content_drstsu0209</content></entry></data>

2023-03-27 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>78054f9e-8e73-4289-af05-cb2ba40111f0</value></item-id></result>

2023-03-27 23:00:08 | contains: true

2023-03-27 23:00:08 | [Mutex] received everything.

2023-03-27 23:00:08 | [Mutex] isItemNotified: user_regularnfzbd80207@test-domain.com:message:received:content_drstsu0209 :: true

2023-03-27 23:00:08 |


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


2023-03-27 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 23:00:08 | command: <data><node>node_7ge67b0208</node><expire-at>2023-03-28T06:00:03Z</expire-at><entry><content>content_ga8lss0210</content></entry></data>

2023-03-27 23:00:08 | target: http://localhost:8088

2023-03-27 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-27 23:00:08 | entity: <data><node>node_7ge67b0208</node><expire-at>2023-03-28T06:00:03Z</expire-at><entry><content>content_ga8lss0210</content></entry></data>

2023-03-27 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a2ae8de0-cf84-497e-a78f-1b3a762fad8a</value></item-id></result>

2023-03-27 23:00:08 | contains: true

2023-03-27 23:00:08 | [Mutex] waiting for: [user_regularnfzbd80207@test-domain.com:message:received:content_ga8lss0210]

2023-03-27 23:00:23 | [Mutex] timeout. Not received [user_regularnfzbd80207@test-domain.com:message:received:content_ga8lss0210]

2023-03-27 23:00:23 | [Mutex] isItemNotified: user_regularnfzbd80207@test-domain.com:message:received:content_ga8lss0210 :: false

2023-03-27 23:00:23 |


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


2023-03-27 23:00:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 23:00:23 | command: <data><node>node_7ge67b0208</node><entry><content>content_lgcx6c0211</content></entry></data>

2023-03-27 23:00:23 | target: http://localhost:8088

2023-03-27 23:00:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-27 23:00:23 | entity: <data><node>node_7ge67b0208</node><entry><content>content_lgcx6c0211</content></entry></data>

2023-03-27 23:00:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 06:00:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 23:00:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a21e1092-3080-4393-b471-befba191a5d8</value></item-id></result>

2023-03-27 23:00:23 | contains: true

2023-03-27 23:00:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-27 23:00:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-27 23:00:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-27 23:00:28 | [Mutex] waiting for: [user_regularnfzbd80207@test-domain.com:message:received:content_lgcx6c0211]

2023-03-27 23:00:28 | [Mutex] received everything.

2023-03-27 23:00:28 | [Mutex] isItemNotified: user_regularnfzbd80207@test-domain.com:message:received:content_lgcx6c0211 :: true

2023-03-27 23:00:28 |


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


2023-03-27 23:00:28 | [Mutex] received everything.

2023-03-27 23:00:28 | [Mutex] isItemNotified: node_7ge67b0208:subscribe_node:success :: true

2023-03-27 23:00:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-27 23:00:28 | command: <data><node>node_7ge67b0208</node><expire-at>2023-03-28T06:00:33Z</expire-at><entry><content>content_5xz5xj0212</content></entry></data>

2023-03-27 23:00:28 | target: http://localhost:8088

2023-03-27 23:00:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-27 23:00:28 | entity: <data><node>node_7ge67b0208</node><expire-at>2023-03-28T06:00:33Z</expire-at><entry><content>content_5xz5xj0212</content></entry></data>

2023-03-27 23:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 06:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-27 23:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6cd001a1-e72b-4ff3-b2e0-f4ca98ee101c</value></item-id></result>

2023-03-27 23:00:28 | contains: true

2023-03-27 23:00:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-27 23:00:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-27 23:00:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-27 23:00:36 | [Mutex] waiting for: [user_regularnfzbd80207@test-domain.com:message:received:content_5xz5xj0212]

2023-03-27 23:00:51 | [Mutex] timeout. Not received [user_regularnfzbd80207@test-domain.com:message:received:content_5xz5xj0212]

2023-03-27 23:00:51 | [Mutex] received everything.

2023-03-27 23:00:51 | [Mutex] isItemNotified: user_regularnfzbd80207@test-domain.com:message:received:content_5xz5xj0212 :: false

2023-03-27 23:00:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5xz5xj0212 :: true