Generated by TestNG with ReportNG at 22:22 PDT on Thursday 06 October 2022
root@7c41cec37518 / 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.761s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-10-06 22:44:10 |

2022-10-06 22:44:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-10-06 22:44:10 | ------------------------------------

2022-10-06 22:44:10 | [Mutex] isItemNotified: node_d5fv0n0204:exists :: false

2022-10-06 22:44:10 | [Mutex] waiting for: [node_d5fv0n0204:create_node]

2022-10-06 22:44:10 | [Mutex] received everything.

2022-10-06 22:44:10 | [Mutex] isItemNotified: node_d5fv0n0204:create_node:success :: true

2022-10-06 22:44:10 | [Mutex] waiting for: [node_d5fv0n0204:subscribe_node]

2022-10-06 22:44:10 | [Mutex] received everything.

2022-10-06 22:44:10 | [Mutex] isItemNotified: node_d5fv0n0204:subscribe_node:success :: true

2022-10-06 22:44:10 |


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


2022-10-06 22:44:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-06 22:44:10 | command: <data><node>node_d5fv0n0204</node><entry><content>content_u2v5730205</content></entry></data>

2022-10-06 22:44:10 | target: http://localhost:8088

2022-10-06 22:44:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-06 22:44:10 | entity: <data><node>node_d5fv0n0204</node><entry><content>content_u2v5730205</content></entry></data>

2022-10-06 22:44:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 05:44:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-06 22:44:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d2c17b32-4a2a-48c2-a912-972b3dc72b07</value></item-id></result>

2022-10-06 22:44:10 | contains: true

2022-10-06 22:44:10 | [Mutex] received everything.

2022-10-06 22:44:10 | [Mutex] isItemNotified: user_regularvebryi0203@test-domain.com:message:received:content_u2v5730205 :: true

2022-10-06 22:44:10 |


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


2022-10-06 22:44:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-06 22:44:10 | command: <data><node>node_d5fv0n0204</node><expire-at>2022-10-07T05:44:05Z</expire-at><entry><content>content_tlk8s40206</content></entry></data>

2022-10-06 22:44:10 | target: http://localhost:8088

2022-10-06 22:44:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-06 22:44:10 | entity: <data><node>node_d5fv0n0204</node><expire-at>2022-10-07T05:44:05Z</expire-at><entry><content>content_tlk8s40206</content></entry></data>

2022-10-06 22:44:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 05:44:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-06 22:44:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f937e1ad-53b1-4536-a391-43b99c92c5bc</value></item-id></result>

2022-10-06 22:44:10 | contains: true

2022-10-06 22:44:10 | [Mutex] waiting for: [user_regularvebryi0203@test-domain.com:message:received:content_tlk8s40206]

2022-10-06 22:44:25 | [Mutex] timeout. Not received [user_regularvebryi0203@test-domain.com:message:received:content_tlk8s40206]

2022-10-06 22:44:25 | [Mutex] isItemNotified: user_regularvebryi0203@test-domain.com:message:received:content_tlk8s40206 :: false

2022-10-06 22:44:25 |


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


2022-10-06 22:44:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-06 22:44:25 | command: <data><node>node_d5fv0n0204</node><entry><content>content_hi217o0207</content></entry></data>

2022-10-06 22:44:25 | target: http://localhost:8088

2022-10-06 22:44:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-10-06 22:44:25 | entity: <data><node>node_d5fv0n0204</node><entry><content>content_hi217o0207</content></entry></data>

2022-10-06 22:44:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 05:44:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-06 22:44:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63344dfd-40e9-49be-a0c8-cb63ec1fbcfa</value></item-id></result>

2022-10-06 22:44:25 | contains: true

2022-10-06 22:44:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-06 22:44:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-10-06 22:44:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-06 22:44:30 | [Mutex] waiting for: [user_regularvebryi0203@test-domain.com:message:received:content_hi217o0207]

2022-10-06 22:44:30 | [Mutex] received everything.

2022-10-06 22:44:30 | [Mutex] isItemNotified: user_regularvebryi0203@test-domain.com:message:received:content_hi217o0207 :: true

2022-10-06 22:44:30 |


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


2022-10-06 22:44:30 | [Mutex] received everything.

2022-10-06 22:44:30 | [Mutex] isItemNotified: node_d5fv0n0204:subscribe_node:success :: true

2022-10-06 22:44:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-10-06 22:44:30 | command: <data><node>node_d5fv0n0204</node><expire-at>2022-10-07T05:44:35Z</expire-at><entry><content>content_w81h2m0208</content></entry></data>

2022-10-06 22:44:30 | target: http://localhost:8088

2022-10-06 22:44:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-10-06 22:44:30 | entity: <data><node>node_d5fv0n0204</node><expire-at>2022-10-07T05:44:35Z</expire-at><entry><content>content_w81h2m0208</content></entry></data>

2022-10-06 22:44:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 05:44:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-10-06 22:44:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd204633-cf13-4a56-9731-d25101b104f7</value></item-id></result>

2022-10-06 22:44:30 | contains: true

2022-10-06 22:44:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-10-06 22:44:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-10-06 22:44:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-10-06 22:44:38 | [Mutex] waiting for: [user_regularvebryi0203@test-domain.com:message:received:content_w81h2m0208]

2022-10-06 22:44:38 | [Mutex] waiting for: [user_regularvebryi0203@test-domain.com:message:received:content_w81h2m0208]

2022-10-06 22:44:38 | [Mutex] waiting for: [user_regularvebryi0203@test-domain.com:message:received:content_w81h2m0208]

2022-10-06 22:44:53 | [Mutex] timeout. Not received [user_regularvebryi0203@test-domain.com:message:received:content_w81h2m0208]

2022-10-06 22:44:53 | [Mutex] received everything.

2022-10-06 22:44:53 | [Mutex] isItemNotified: user_regularvebryi0203@test-domain.com:message:received:content_w81h2m0208 :: false

2022-10-06 22:44:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w81h2m0208 :: true