Generated by TestNG with ReportNG at 22:23 PDT on Monday 09 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.606s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.593s
2022-05-09 22:37:57 |

2022-05-09 22:37:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-09 22:37:57 | ------------------------------------

2022-05-09 22:37:57 | [Mutex] isItemNotified: node_zg6jr80204:exists :: false

2022-05-09 22:37:57 | [Mutex] waiting for: [node_zg6jr80204:create_node]

2022-05-09 22:37:57 | [Mutex] waiting for: [node_zg6jr80204:create_node]

2022-05-09 22:37:57 | [Mutex] received everything.

2022-05-09 22:37:57 | [Mutex] isItemNotified: node_zg6jr80204:create_node:success :: true

2022-05-09 22:37:57 | [Mutex] waiting for: [node_zg6jr80204:subscribe_node]

2022-05-09 22:37:57 | [Mutex] waiting for: [node_zg6jr80204:subscribe_node]

2022-05-09 22:37:57 | [Mutex] received everything.

2022-05-09 22:37:57 | [Mutex] isItemNotified: node_zg6jr80204:subscribe_node:success :: true

2022-05-09 22:37:57 |


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


2022-05-09 22:37:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 22:37:57 | command: <data><node>node_zg6jr80204</node><entry><content>content_dim0a40205</content></entry></data>

2022-05-09 22:37:57 | target: http://localhost:8088

2022-05-09 22:37:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-09 22:37:57 | entity: <data><node>node_zg6jr80204</node><entry><content>content_dim0a40205</content></entry></data>

2022-05-09 22:37:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 05:37:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 22:37:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c3c635e0-a347-46a0-8d7c-8c3d790bddc0</value></item-id></result>

2022-05-09 22:37:57 | contains: true

2022-05-09 22:37:57 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_dim0a40205]

2022-05-09 22:37:57 | [Mutex] received everything.

2022-05-09 22:37:57 | [Mutex] isItemNotified: user_regularm1asl00203@test-domain.com:message:received:content_dim0a40205 :: true

2022-05-09 22:37:57 |


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


2022-05-09 22:37:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 22:37:57 | command: <data><node>node_zg6jr80204</node><expire-at>2022-05-10T05:37:52Z</expire-at><entry><content>content_kufym20206</content></entry></data>

2022-05-09 22:37:57 | target: http://localhost:8088

2022-05-09 22:37:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-09 22:37:57 | entity: <data><node>node_zg6jr80204</node><expire-at>2022-05-10T05:37:52Z</expire-at><entry><content>content_kufym20206</content></entry></data>

2022-05-09 22:37:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 05:37:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 22:37:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>999d2544-ae95-4e06-945f-073190a8056b</value></item-id></result>

2022-05-09 22:37:57 | contains: true

2022-05-09 22:37:57 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_kufym20206]

2022-05-09 22:38:12 | [Mutex] timeout. Not received [user_regularm1asl00203@test-domain.com:message:received:content_kufym20206]

2022-05-09 22:38:12 | [Mutex] isItemNotified: user_regularm1asl00203@test-domain.com:message:received:content_kufym20206 :: false

2022-05-09 22:38:12 |


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


2022-05-09 22:38:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 22:38:12 | command: <data><node>node_zg6jr80204</node><entry><content>content_ivg3c70207</content></entry></data>

2022-05-09 22:38:12 | target: http://localhost:8088

2022-05-09 22:38:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-09 22:38:12 | entity: <data><node>node_zg6jr80204</node><entry><content>content_ivg3c70207</content></entry></data>

2022-05-09 22:38:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 05:38:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 22:38:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94f84b50-d66b-404f-910e-0a37033f8cab</value></item-id></result>

2022-05-09 22:38:12 | contains: true

2022-05-09 22:38:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-09 22:38:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-09 22:38:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-09 22:38:18 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_ivg3c70207]

2022-05-09 22:38:18 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_ivg3c70207]

2022-05-09 22:38:18 | [Mutex] received everything.

2022-05-09 22:38:18 | [Mutex] isItemNotified: user_regularm1asl00203@test-domain.com:message:received:content_ivg3c70207 :: true

2022-05-09 22:38:18 |


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


2022-05-09 22:38:18 | [Mutex] received everything.

2022-05-09 22:38:18 | [Mutex] isItemNotified: node_zg6jr80204:subscribe_node:success :: true

2022-05-09 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-09 22:38:18 | command: <data><node>node_zg6jr80204</node><expire-at>2022-05-10T05:38:23Z</expire-at><entry><content>content_rct7su0208</content></entry></data>

2022-05-09 22:38:18 | target: http://localhost:8088

2022-05-09 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-09 22:38:18 | entity: <data><node>node_zg6jr80204</node><expire-at>2022-05-10T05:38:23Z</expire-at><entry><content>content_rct7su0208</content></entry></data>

2022-05-09 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-09 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>668b7f72-c61a-4614-8f90-6168f8c461de</value></item-id></result>

2022-05-09 22:38:18 | contains: true

2022-05-09 22:38:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-09 22:38:26 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_rct7su0208]

2022-05-09 22:38:26 | [Mutex] waiting for: [user_regularm1asl00203@test-domain.com:message:received:content_rct7su0208]

2022-05-09 22:38:41 | [Mutex] timeout. Not received [user_regularm1asl00203@test-domain.com:message:received:content_rct7su0208]

2022-05-09 22:38:41 | [Mutex] received everything.

2022-05-09 22:38:41 | [Mutex] isItemNotified: user_regularm1asl00203@test-domain.com:message:received:content_rct7su0208 :: false

2022-05-09 22:38:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rct7su0208 :: true