This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-22
Channels
- # ai (1)
- # announcements (1)
- # babashka (9)
- # beginners (18)
- # calva (19)
- # clerk (136)
- # clj-http (3)
- # clj-kondo (13)
- # cljs-dev (166)
- # clojure (39)
- # clojure-europe (133)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (12)
- # clr (1)
- # community-development (6)
- # conjure (8)
- # cursive (13)
- # data-science (1)
- # datomic (26)
- # events (5)
- # fulcro (12)
- # gratitude (3)
- # honeysql (9)
- # hyperfiddle (33)
- # introduce-yourself (6)
- # kaocha (1)
- # lambdaisland (5)
- # malli (4)
- # off-topic (3)
- # rdf (4)
- # re-frame (3)
- # releases (3)
- # scittle (11)
- # specter (2)
- # sql (4)
- # tools-deps (4)
- # vim (10)
Hi All, What's the recommended performance testing tool for testing Clojure HTTP calls, I am trying to setup JMeter but not able to pass path parameters. :message Cannot invoke \"java.lang.Character.charValue()\" because \"x\" is null
You'll need to provide a lot more information about exactly what you tried, what your code has around that exception.
If your code is failing with a null pointer exception, you probably want to address that first, regardless of jmeter
I am trying something like http://localhost:3001/api/v1/country_tracking/:country_group_id
That would pass ?country_group_id=... - it wouldn't pass it in the path info which is what your URL pattern is looking for
Okay thanks, Is there a way I can pass http://localhost:3001/api/v1/country_tracking/:country_group_id in the request
Your URL pattern expects it to be part of the path
I'd like to ignore/silence the printing of namespaces and summary when running tests with clojure.test/run-tests
. is that possible?
it's possible... test reporting uses a report
multimethod, so it would be possible to radically alter the way test outcomes are reported - a quick 'report nothing' mechanism would be to rebind *test-out*
to a write to /dev/null or whatever, but for fine-grained control, I think you'd need to rebind that report
multimethod with a multimethod that does what you want - you could have a look at the junit or tap overrides that are bundled in for examples
bummer but understandable. looks like i'll have to reimplement some stuff
well, you could default the dispatches that should remain unchanged to just call the default and only override the ones where different behavior is desired