Generated by TestNG with ReportNG at 22:46 PDT on Friday 08 July 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.747s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.600s
2022-07-08 23:00:25 |

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

2022-07-08 23:00:25 | ------------------------------------

2022-07-08 23:00:25 | [Mutex] isItemNotified: node_x400dp0204:exists :: false

2022-07-08 23:00:25 | [Mutex] waiting for: [node_x400dp0204:create_node]

2022-07-08 23:00:25 | [Mutex] received everything.

2022-07-08 23:00:25 | [Mutex] isItemNotified: node_x400dp0204:create_node:success :: true

2022-07-08 23:00:25 | [Mutex] waiting for: [node_x400dp0204:subscribe_node]

2022-07-08 23:00:25 | [Mutex] waiting for: [node_x400dp0204:subscribe_node]

2022-07-08 23:00:25 | [Mutex] received everything.

2022-07-08 23:00:25 | [Mutex] isItemNotified: node_x400dp0204:subscribe_node:success :: true

2022-07-08 23:00:25 |


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


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

2022-07-08 23:00:25 | command: <data><node>node_x400dp0204</node><entry><content>content_vj8g0n0205</content></entry></data>

2022-07-08 23:00:25 | target: http://localhost:8088

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

2022-07-08 23:00:25 | entity: <data><node>node_x400dp0204</node><entry><content>content_vj8g0n0205</content></entry></data>

2022-07-08 23:00:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:00:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:00:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>89184ab6-fd6a-4bdd-a863-4d3c34c8949d</value></item-id></result>

2022-07-08 23:00:25 | contains: true

2022-07-08 23:00:25 | [Mutex] waiting for: [user_regulari0qail0203@test-domain.com:message:received:content_vj8g0n0205]

2022-07-08 23:00:25 | [Mutex] received everything.

2022-07-08 23:00:25 | [Mutex] isItemNotified: user_regulari0qail0203@test-domain.com:message:received:content_vj8g0n0205 :: true

2022-07-08 23:00:25 |


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


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

2022-07-08 23:00:25 | command: <data><node>node_x400dp0204</node><expire-at>2022-07-09T06:00:20Z</expire-at><entry><content>content_oyixin0206</content></entry></data>

2022-07-08 23:00:25 | target: http://localhost:8088

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

2022-07-08 23:00:25 | entity: <data><node>node_x400dp0204</node><expire-at>2022-07-09T06:00:20Z</expire-at><entry><content>content_oyixin0206</content></entry></data>

2022-07-08 23:00:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:00:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:00:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a58f5997-aa93-4508-b38f-94f87c21d9d9</value></item-id></result>

2022-07-08 23:00:25 | contains: true

2022-07-08 23:00:25 | [Mutex] waiting for: [user_regulari0qail0203@test-domain.com:message:received:content_oyixin0206]

2022-07-08 23:00:40 | [Mutex] timeout. Not received [user_regulari0qail0203@test-domain.com:message:received:content_oyixin0206]

2022-07-08 23:00:40 | [Mutex] isItemNotified: user_regulari0qail0203@test-domain.com:message:received:content_oyixin0206 :: false

2022-07-08 23:00:40 |


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


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

2022-07-08 23:00:41 | command: <data><node>node_x400dp0204</node><entry><content>content_psbfwv0207</content></entry></data>

2022-07-08 23:00:41 | target: http://localhost:8088

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

2022-07-08 23:00:41 | entity: <data><node>node_x400dp0204</node><entry><content>content_psbfwv0207</content></entry></data>

2022-07-08 23:00:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:00:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:00:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bedaa817-b9e2-4a6b-8a4f-f3c42788b604</value></item-id></result>

2022-07-08 23:00:41 | contains: true

2022-07-08 23:00:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-08 23:00:46 | [Mutex] waiting for: [user_regulari0qail0203@test-domain.com:message:received:content_psbfwv0207]

2022-07-08 23:00:46 | [Mutex] waiting for: [user_regulari0qail0203@test-domain.com:message:received:content_psbfwv0207]

2022-07-08 23:00:46 | [Mutex] received everything.

2022-07-08 23:00:46 | [Mutex] isItemNotified: user_regulari0qail0203@test-domain.com:message:received:content_psbfwv0207 :: true

2022-07-08 23:00:46 |


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


2022-07-08 23:00:46 | [Mutex] received everything.

2022-07-08 23:00:46 | [Mutex] isItemNotified: node_x400dp0204:subscribe_node:success :: true

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

2022-07-08 23:00:46 | command: <data><node>node_x400dp0204</node><expire-at>2022-07-09T06:00:51Z</expire-at><entry><content>content_vktlko0208</content></entry></data>

2022-07-08 23:00:46 | target: http://localhost:8088

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

2022-07-08 23:00:46 | entity: <data><node>node_x400dp0204</node><expire-at>2022-07-09T06:00:51Z</expire-at><entry><content>content_vktlko0208</content></entry></data>

2022-07-08 23:00:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 06:00:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 23:00:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d19aaf5d-e475-4421-a77a-47a22993b312</value></item-id></result>

2022-07-08 23:00:46 | contains: true

2022-07-08 23:00:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-08 23:00:54 | [Mutex] waiting for: [user_regulari0qail0203@test-domain.com:message:received:content_vktlko0208]

2022-07-08 23:01:09 | [Mutex] timeout. Not received [user_regulari0qail0203@test-domain.com:message:received:content_vktlko0208]

2022-07-08 23:01:09 | [Mutex] received everything.

2022-07-08 23:01:09 | [Mutex] isItemNotified: user_regulari0qail0203@test-domain.com:message:received:content_vktlko0208 :: false

2022-07-08 23:01:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vktlko0208 :: true