Generated by TestNG with ReportNG at 09:26 PST on Sunday 05 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.559s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.572s
2023-11-05 09:41:04 |

2023-11-05 09:41:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 09:41:04 | ------------------------------------

2023-11-05 09:41:04 | [Mutex] isItemNotified: node_u6o49b0208:exists :: false

2023-11-05 09:41:04 | [Mutex] waiting for: [node_u6o49b0208:create_node]

2023-11-05 09:41:04 | [Mutex] received everything.

2023-11-05 09:41:04 | [Mutex] isItemNotified: node_u6o49b0208:create_node:success :: true

2023-11-05 09:41:04 | [Mutex] waiting for: [node_u6o49b0208:subscribe_node]

2023-11-05 09:41:04 | [Mutex] waiting for: [node_u6o49b0208:subscribe_node]

2023-11-05 09:41:04 | [Mutex] received everything.

2023-11-05 09:41:04 | [Mutex] isItemNotified: node_u6o49b0208:subscribe_node:success :: true

2023-11-05 09:41:04 |


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


2023-11-05 09:41:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 09:41:04 | command: <data><node>node_u6o49b0208</node><entry><content>content_a65hs70209</content></entry></data>

2023-11-05 09:41:04 | target: http://localhost:8088

2023-11-05 09:41:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 09:41:04 | entity: <data><node>node_u6o49b0208</node><entry><content>content_a65hs70209</content></entry></data>

2023-11-05 09:41:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 17:41:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 09:41:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a279ee1f-b5a0-469c-8a77-7667dbcf337a</value></item-id></result>

2023-11-05 09:41:04 | contains: true

2023-11-05 09:41:04 | [Mutex] received everything.

2023-11-05 09:41:04 | [Mutex] isItemNotified: user_regularn3qbpl0207@test-domain.com:message:received:content_a65hs70209 :: true

2023-11-05 09:41:04 |


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


2023-11-05 09:41:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 09:41:04 | command: <data><node>node_u6o49b0208</node><expire-at>2023-11-05T17:40:59Z</expire-at><entry><content>content_h24aw40210</content></entry></data>

2023-11-05 09:41:04 | target: http://localhost:8088

2023-11-05 09:41:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 09:41:04 | entity: <data><node>node_u6o49b0208</node><expire-at>2023-11-05T17:40:59Z</expire-at><entry><content>content_h24aw40210</content></entry></data>

2023-11-05 09:41:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 17:41:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 09:41:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c80d31d4-7f7f-4712-8381-9b4e5e4176e3</value></item-id></result>

2023-11-05 09:41:04 | contains: true

2023-11-05 09:41:04 | [Mutex] waiting for: [user_regularn3qbpl0207@test-domain.com:message:received:content_h24aw40210]

2023-11-05 09:41:19 | [Mutex] timeout. Not received [user_regularn3qbpl0207@test-domain.com:message:received:content_h24aw40210]

2023-11-05 09:41:19 | [Mutex] isItemNotified: user_regularn3qbpl0207@test-domain.com:message:received:content_h24aw40210 :: false

2023-11-05 09:41:19 |


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


2023-11-05 09:41:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 09:41:19 | command: <data><node>node_u6o49b0208</node><entry><content>content_i4vnd90211</content></entry></data>

2023-11-05 09:41:19 | target: http://localhost:8088

2023-11-05 09:41:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 09:41:19 | entity: <data><node>node_u6o49b0208</node><entry><content>content_i4vnd90211</content></entry></data>

2023-11-05 09:41:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 17:41:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 09:41:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9a668d52-b745-4d70-aec2-9fb8d65cab01</value></item-id></result>

2023-11-05 09:41:19 | contains: true

2023-11-05 09:41:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 09:41:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 09:41:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 09:41:24 | [Mutex] received everything.

2023-11-05 09:41:24 | [Mutex] isItemNotified: user_regularn3qbpl0207@test-domain.com:message:received:content_i4vnd90211 :: true

2023-11-05 09:41:24 |


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


2023-11-05 09:41:24 | [Mutex] received everything.

2023-11-05 09:41:24 | [Mutex] isItemNotified: node_u6o49b0208:subscribe_node:success :: true

2023-11-05 09:41:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 09:41:24 | command: <data><node>node_u6o49b0208</node><expire-at>2023-11-05T17:41:29Z</expire-at><entry><content>content_3rxh2m0212</content></entry></data>

2023-11-05 09:41:24 | target: http://localhost:8088

2023-11-05 09:41:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 09:41:24 | entity: <data><node>node_u6o49b0208</node><expire-at>2023-11-05T17:41:29Z</expire-at><entry><content>content_3rxh2m0212</content></entry></data>

2023-11-05 09:41:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 17:41:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 09:41:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d856a9a-77f0-43e1-b190-3189b45e1f7e</value></item-id></result>

2023-11-05 09:41:24 | contains: true

2023-11-05 09:41:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 09:41:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 09:41:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 09:41:32 | [Mutex] waiting for: [user_regularn3qbpl0207@test-domain.com:message:received:content_3rxh2m0212]

2023-11-05 09:41:47 | [Mutex] timeout. Not received [user_regularn3qbpl0207@test-domain.com:message:received:content_3rxh2m0212]

2023-11-05 09:41:47 | [Mutex] received everything.

2023-11-05 09:41:47 | [Mutex] isItemNotified: user_regularn3qbpl0207@test-domain.com:message:received:content_3rxh2m0212 :: false

2023-11-05 09:41:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3rxh2m0212 :: true