Generated by TestNG with ReportNG at 08:01 PDT on Tuesday 12 July 2022
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.848s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.614s
2022-07-12 08:15:20 |

2022-07-12 08:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 08:15:20 | ------------------------------------

2022-07-12 08:15:20 | [Mutex] isItemNotified: node_a2porf0204:exists :: false

2022-07-12 08:15:20 | [Mutex] waiting for: [node_a2porf0204:create_node]

2022-07-12 08:15:20 | [Mutex] received everything.

2022-07-12 08:15:20 | [Mutex] isItemNotified: node_a2porf0204:create_node:success :: true

2022-07-12 08:15:20 | [Mutex] waiting for: [node_a2porf0204:subscribe_node]

2022-07-12 08:15:20 | [Mutex] waiting for: [node_a2porf0204:subscribe_node]

2022-07-12 08:15:20 | [Mutex] received everything.

2022-07-12 08:15:20 | [Mutex] isItemNotified: node_a2porf0204:subscribe_node:success :: true

2022-07-12 08:15:20 |


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


2022-07-12 08:15:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 08:15:20 | command: <data><node>node_a2porf0204</node><entry><content>content_y9c5zu0205</content></entry></data>

2022-07-12 08:15:20 | target: http://localhost:8088

2022-07-12 08:15:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 08:15:20 | entity: <data><node>node_a2porf0204</node><entry><content>content_y9c5zu0205</content></entry></data>

2022-07-12 08:15:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 15:15:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 08:15:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8f06545-2156-4b99-be0d-d03f8dd5665c</value></item-id></result>

2022-07-12 08:15:20 | contains: true

2022-07-12 08:15:20 | [Mutex] received everything.

2022-07-12 08:15:20 | [Mutex] isItemNotified: user_regularih4b9i0203@test-domain.com:message:received:content_y9c5zu0205 :: true

2022-07-12 08:15:20 |


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


2022-07-12 08:15:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 08:15:20 | command: <data><node>node_a2porf0204</node><expire-at>2022-07-12T15:15:15Z</expire-at><entry><content>content_3y9arn0206</content></entry></data>

2022-07-12 08:15:20 | target: http://localhost:8088

2022-07-12 08:15:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 08:15:20 | entity: <data><node>node_a2porf0204</node><expire-at>2022-07-12T15:15:15Z</expire-at><entry><content>content_3y9arn0206</content></entry></data>

2022-07-12 08:15:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 15:15:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 08:15:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d09e92fa-d446-4b0e-80fb-6e452c96f3fe</value></item-id></result>

2022-07-12 08:15:20 | contains: true

2022-07-12 08:15:20 | [Mutex] waiting for: [user_regularih4b9i0203@test-domain.com:message:received:content_3y9arn0206]

2022-07-12 08:15:35 | [Mutex] timeout. Not received [user_regularih4b9i0203@test-domain.com:message:received:content_3y9arn0206]

2022-07-12 08:15:35 | [Mutex] isItemNotified: user_regularih4b9i0203@test-domain.com:message:received:content_3y9arn0206 :: false

2022-07-12 08:15:35 |


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


2022-07-12 08:15:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 08:15:35 | command: <data><node>node_a2porf0204</node><entry><content>content_bnyul90207</content></entry></data>

2022-07-12 08:15:35 | target: http://localhost:8088

2022-07-12 08:15:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 08:15:35 | entity: <data><node>node_a2porf0204</node><entry><content>content_bnyul90207</content></entry></data>

2022-07-12 08:15:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 15:15:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 08:15:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>47d6988a-fab6-40f4-8c31-9162dd6a7115</value></item-id></result>

2022-07-12 08:15:35 | contains: true

2022-07-12 08:15:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-12 08:15:40 | [Mutex] waiting for: [user_regularih4b9i0203@test-domain.com:message:received:content_bnyul90207]

2022-07-12 08:15:40 | [Mutex] received everything.

2022-07-12 08:15:40 | [Mutex] isItemNotified: user_regularih4b9i0203@test-domain.com:message:received:content_bnyul90207 :: true

2022-07-12 08:15:40 |


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


2022-07-12 08:15:40 | [Mutex] received everything.

2022-07-12 08:15:40 | [Mutex] isItemNotified: node_a2porf0204:subscribe_node:success :: true

2022-07-12 08:15:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 08:15:40 | command: <data><node>node_a2porf0204</node><expire-at>2022-07-12T15:15:45Z</expire-at><entry><content>content_6bt00l0208</content></entry></data>

2022-07-12 08:15:40 | target: http://localhost:8088

2022-07-12 08:15:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 08:15:40 | entity: <data><node>node_a2porf0204</node><expire-at>2022-07-12T15:15:45Z</expire-at><entry><content>content_6bt00l0208</content></entry></data>

2022-07-12 08:15:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 15:15:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 08:15:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b33b10e8-939d-495c-a24c-23e5a80abbe9</value></item-id></result>

2022-07-12 08:15:40 | contains: true

2022-07-12 08:15:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-12 08:15:48 | [Mutex] waiting for: [user_regularih4b9i0203@test-domain.com:message:received:content_6bt00l0208]

2022-07-12 08:16:03 | [Mutex] timeout. Not received [user_regularih4b9i0203@test-domain.com:message:received:content_6bt00l0208]

2022-07-12 08:16:03 | [Mutex] received everything.

2022-07-12 08:16:03 | [Mutex] isItemNotified: user_regularih4b9i0203@test-domain.com:message:received:content_6bt00l0208 :: false

2022-07-12 08:16:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6bt00l0208 :: true