Generated by TestNG with ReportNG at 21:15 PST on Friday 17 February 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.755s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.715s
2023-02-17 21:31:41 |

2023-02-17 21:31:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-17 21:31:41 | ------------------------------------

2023-02-17 21:31:41 | [Mutex] isItemNotified: node_7d2cnm0204:exists :: false

2023-02-17 21:31:41 | [Mutex] waiting for: [node_7d2cnm0204:create_node]

2023-02-17 21:31:41 | [Mutex] received everything.

2023-02-17 21:31:41 | [Mutex] isItemNotified: node_7d2cnm0204:create_node:success :: true

2023-02-17 21:31:41 | [Mutex] waiting for: [node_7d2cnm0204:subscribe_node]

2023-02-17 21:31:41 | [Mutex] waiting for: [node_7d2cnm0204:subscribe_node]

2023-02-17 21:31:41 | [Mutex] received everything.

2023-02-17 21:31:41 | [Mutex] isItemNotified: node_7d2cnm0204:subscribe_node:success :: true

2023-02-17 21:31:41 |


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


2023-02-17 21:31:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 21:31:41 | command: <data><node>node_7d2cnm0204</node><entry><content>content_y28rj00205</content></entry></data>

2023-02-17 21:31:41 | target: http://localhost:8088

2023-02-17 21:31:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-17 21:31:41 | entity: <data><node>node_7d2cnm0204</node><entry><content>content_y28rj00205</content></entry></data>

2023-02-17 21:31:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:31:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 21:31:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ceaa388-963c-4d4a-8d88-50afc30f0a01</value></item-id></result>

2023-02-17 21:31:41 | contains: true

2023-02-17 21:31:41 | [Mutex] received everything.

2023-02-17 21:31:41 | [Mutex] isItemNotified: user_regular18crri0203@test-domain.com:message:received:content_y28rj00205 :: true

2023-02-17 21:31:41 |


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


2023-02-17 21:31:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 21:31:41 | command: <data><node>node_7d2cnm0204</node><expire-at>2023-02-18T05:31:36Z</expire-at><entry><content>content_fx9hfi0206</content></entry></data>

2023-02-17 21:31:41 | target: http://localhost:8088

2023-02-17 21:31:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-17 21:31:41 | entity: <data><node>node_7d2cnm0204</node><expire-at>2023-02-18T05:31:36Z</expire-at><entry><content>content_fx9hfi0206</content></entry></data>

2023-02-17 21:31:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:31:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 21:31:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be19e576-c11e-49c1-97c0-334184f140a1</value></item-id></result>

2023-02-17 21:31:41 | contains: true

2023-02-17 21:31:41 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_fx9hfi0206]

2023-02-17 21:31:56 | [Mutex] timeout. Not received [user_regular18crri0203@test-domain.com:message:received:content_fx9hfi0206]

2023-02-17 21:31:56 | [Mutex] isItemNotified: user_regular18crri0203@test-domain.com:message:received:content_fx9hfi0206 :: false

2023-02-17 21:31:56 |


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


2023-02-17 21:31:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 21:31:56 | command: <data><node>node_7d2cnm0204</node><entry><content>content_wtitqb0207</content></entry></data>

2023-02-17 21:31:56 | target: http://localhost:8088

2023-02-17 21:31:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-17 21:31:56 | entity: <data><node>node_7d2cnm0204</node><entry><content>content_wtitqb0207</content></entry></data>

2023-02-17 21:31:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:31:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 21:31:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f079909-17bb-402b-9753-9014cc625bd9</value></item-id></result>

2023-02-17 21:31:56 | contains: true

2023-02-17 21:32:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-02-17 21:32:01 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_wtitqb0207]

2023-02-17 21:32:02 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_wtitqb0207]

2023-02-17 21:32:02 | [Mutex] received everything.

2023-02-17 21:32:02 | [Mutex] isItemNotified: user_regular18crri0203@test-domain.com:message:received:content_wtitqb0207 :: true

2023-02-17 21:32:02 |


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


2023-02-17 21:32:02 | [Mutex] received everything.

2023-02-17 21:32:02 | [Mutex] isItemNotified: node_7d2cnm0204:subscribe_node:success :: true

2023-02-17 21:32:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 21:32:02 | command: <data><node>node_7d2cnm0204</node><expire-at>2023-02-18T05:32:07Z</expire-at><entry><content>content_8h93lc0208</content></entry></data>

2023-02-17 21:32:02 | target: http://localhost:8088

2023-02-17 21:32:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-17 21:32:02 | entity: <data><node>node_7d2cnm0204</node><expire-at>2023-02-18T05:32:07Z</expire-at><entry><content>content_8h93lc0208</content></entry></data>

2023-02-17 21:32:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 05:32:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 21:32:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d7db1b8c-cd0a-4dd3-b077-273d1031b564</value></item-id></result>

2023-02-17 21:32:02 | contains: true

2023-02-17 21:32:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-17 21:32:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-17 21:32:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-17 21:32:10 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_8h93lc0208]

2023-02-17 21:32:10 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_8h93lc0208]

2023-02-17 21:32:10 | [Mutex] waiting for: [user_regular18crri0203@test-domain.com:message:received:content_8h93lc0208]

2023-02-17 21:32:25 | [Mutex] timeout. Not received [user_regular18crri0203@test-domain.com:message:received:content_8h93lc0208]

2023-02-17 21:32:25 | [Mutex] received everything.

2023-02-17 21:32:25 | [Mutex] isItemNotified: user_regular18crri0203@test-domain.com:message:received:content_8h93lc0208 :: false

2023-02-17 21:32:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8h93lc0208 :: true